Function factory for prespecified palettes

palette_named(name = NULL, ...)

Arguments

name

name of the palette

...

arguments to be passed to other functions

Value

a function that takes arguments n and alpha