rg.colors {RGeostats} | R Documentation |
Create various vectors of colors
rg.colors(number = NA, rank = 1)
number |
Number of colors in the vector. See details for more information. |
rank |
Rank of the reference color scale. This rank can be: |
When 'rank' is defined, the reference color scale is selected. Let 'ndim' be the actual number of colors in this reference color scale.
When the argument 'number' is not defined, this number is set to 'ndim'.
If 'number' is larger than 'ndim', 'number' is set back to 'ndim'.
if 'number' is smaller than 'ndim', 'number' colors are regularly sampled from the reference color scale.
A character vector of color names.