getQualitativePalette {pipeComp}R Documentation

getQualitativePalette

Description

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.

Usage

getQualitativePalette(nbcolors)

Arguments

nbcolors

A positive integer indicating the number of colors

Value

A vector of colors

Examples

getQualitativePalette(5)

[Package pipeComp version 1.4.0 Index]