Description Usage Arguments Examples
Map numeric values to a colour map
1 2 3 4 5 | numeric2col(
num,
colmap = grDevices::terrain.colors(100),
breaks.length = length(colmap)
)
|
num |
A numeric vector. The numbers which will be mapped to colours. |
colmap |
A colour map. See |
breaks.length |
A single integer. Controls the number of
breaks in the discretisation of |
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.