c4a_scores: Get information from a cols4all palette
Description
Get information from a cols4all palette
Usage
c4a_scores(
palette = NULL,
type = NULL,
series = NULL,
n = NA,
no.match = c("message", "error", "null"),
verbose = TRUE
)
Value
list with the following items: name, series, fullname, type, palette (colors), na (color), nmax, and reverse. The latter is TRUE when there is a "-" prefix before the palette name.
Arguments
palette
name of the palette
type
type of palettes (in case palette is not specified)
series
series name (in case palette is not specified)
n
number of colors
no.match
what happens is no match is found? Options: "message": a message is thrown with suggestions, "error": an error is thrown, "null": NULL is returned