c4a_scores | R Documentation |
Get information from a cols4all palette
c4a_scores(
palette = NULL,
type = NULL,
series = NULL,
n = NA,
no.match = c("message", "error", "null"),
verbose = TRUE
)
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: |
verbose |
should messages be printed? |
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.
c4a_scores("blues3")
pals = c4a_palettes(type = "cat")
scores_cat7 = t(sapply(pals, c4a_scores, n = 7))
head(scores_cat7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.