c4a_scores {cols4all}R Documentation

Get information from a cols4all palette

Description

Get information from a cols4all palette

Usage

c4a_scores(
  palette,
  n = NA,
  no.match = c("message", "error", "null"),
  verbose = TRUE
)

Arguments

palette

name of the palette

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

verbose

should messages be printed?

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.


[Package cols4all version 0.7-1 Index]