ColorMap | R Documentation |
Create color maps
ColorMap( continuous = TRUE, colors = NULL, dmin = NULL, dmax = NULL, scaler = NULL, mapper = NULL )
continuous |
whether colormap is continuous |
colors |
colors for each data point |
dmin |
miminum in continuous color map |
dmax |
maximum in continuous color map |
scaler |
scaler function from data range to 0-1 |
mapper |
function that maps data to color |
an object of class ColorMap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.