A fixed palette of n colors
PCMColorPalette(
n,
names,
colors = structure(hcl(h = seq(15, 375, length = n + 1), l = 65, c =
100)[seq_len(n)], names = names)
)
A vector of character strings which can be used as color specifications by R graphics functions.
an integer defining the number of colors in the resulting palette.
a character vector of length `n`.
a vector of n values convertible to colors. Default:
structure(hcl(
h = seq(15, 375, length = n + 1), l = 65, c = 100)[seq_len(n)],
names = names)