R/FSAUtils.R
chooseColors.RdCreate a list of colors from among a variety of color palettes.
chooseColors(pal = paletteChoices(), num, rev = FALSE, ...) paletteChoices()
| pal | A character that is the name of a palette. Must be one of “rich”, “cm”, “default”, “grey”, “gray”, “heat”, “jet”, “rainbow”, “topo”, or “terrain”, which are given in |
|---|---|
| num | The number of colors to be returned. |
| rev | A logical that indicates if the default order of colors should be reversed ( |
| ... | Other arguments to the various palette functions. |
A vector of colors of length num.
See cm.colors, heat.colors, topo.colors, terrain.colors, rainbow, colorRampPalette, and colors.
Derek H. Ogle, derek@derekogle.com