map.color {SOMMD} | R Documentation |
Map the property vector to colours
Description
Function map a numeric vector of a property to a vector of colors for that property according to that property value.
Usage
map.color(x, pal, limits = NULL, na.col = "grey")
Arguments
x |
a numeric vector |
pal |
a color palette |
limits |
the values of the extremes for the colorscale |
na.col |
the color that will be assigned to the na.values of the vector |
Value
A vector with colors proportional to the values of x
[Package SOMMD version 0.1.2 Index]