PCMColorPalette {PCMBase} | R Documentation |
A fixed palette of n colors
Description
A fixed palette of n colors
Usage
PCMColorPalette(
n,
names,
colors = structure(hcl(h = seq(15, 375, length = n + 1), l = 65, c =
100)[seq_len(n)], names = names)
)
Arguments
n |
an integer defining the number of colors in the resulting palette. |
names |
a character vector of length 'n'. |
colors |
a vector of n values convertible to colors. Default:
|
Value
A vector of character strings which can be used as color specifications by R graphics functions.
[Package PCMBase version 1.2.14 Index]