Description Usage Arguments Value Author(s)
Determine color values according to a given range of values.
From a given numeric vector z the range is determined and the values are
linearly mapped onto the interval given by val.range
. Then
a color ramp using the colors given by color
is created and
the mapped values are transformed into hex color values.
1 | mapCoordinatesToColor(z, colors=c("white", "black"), val.range=c(0.2, 0.8))
|
z |
numeric vector. |
color |
vector of length two giving color values |
val.range |
numeric vector of lengths two (default |
numeric vector
Mark Heckmann
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.