getQualitativePalette {pipeComp} | R Documentation |
Returns a qualitative color palette of the given size. If less than 23 colors are required, the colors are based on Paul Tol's palettes. If more, the 'randomcoloR' package is used.
getQualitativePalette(nbcolors)
nbcolors |
A positive integer indicating the number of colors |
A vector of colors
getQualitativePalette(5)