Description Usage Arguments Value Author(s) See Also Examples
Find a vector of distinct R built-in colors for a pre-defined length ('nrcol').
1 2 3 4 5 6 7 |
nrcol |
a non-negative integer specifying the number of colors to be used (defaults to the length of |
method |
character string implying the method for color selection to be used ("RGB" uses a grid in the RGB space (default), "Lab" uses a grid in the Lab space, "goldenratio" uses the golden ratio as spacing between colors in the HSV color space). |
bw |
logical: if |
show |
logical: if |
simulate |
logical: if |
distinctcolors
returns a vector containing R built-in colors in hexadecimal representation.
Bjoern Schwalb
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.