getCols | R Documentation |
Map values to colors
getCols(x, palette = 1)
x |
A numeric vector. |
palette |
diverge, rainbow, sequential |
A vector of colors corresponding to input vector.
Wubing Zhang
getCols(1:4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.