A fixed palette of n colors

PCMColorPalette(n, names)

Arguments

n

an integer defining the number of colors in the resulting palette.

names

a character vector of length `n`.

Value

A vector of character strings which can be used as color specifications by R graphics functions.