getColorsVector: getColorsVector

View source: R/utilities.R

getColorsVectorR Documentation

getColorsVector

Description

This function returns a list of colors based on the brewer.pal() function

Usage

getColorsVector(numNeededColors = 0L)

Arguments

numNeededColors

The number of returned colors. If omitted it returns all available colors

Details

The colors are taken from the brewer.pal.info() sets with Set1, Set2, Set3 placed first.

Value

an array of RGB colors of the wanted size

Examples

colorsVector <- getColorsVector(17)


seriph78/COTAN documentation built on Nov. 15, 2024, 7:09 a.m.