Description Usage Arguments Value Examples
A wrapper for colorRamp with a few modifications. Returns a vector of color codes
1 2 | colorRampI(x, na = "white", quantiles = TRUE, colors = c("white",
"red"), ...)
|
x |
a numerical vector to be mapped on colors |
na |
if numeric - the value to which NAs in x are equivalent. If character - color for NA. |
quantiles |
logical, whether or not map in quantile space, or directly. |
colors |
- colors to interpolate, to be passed to colorRamp() |
... |
other arguments to be passed to colorRamp() |
vector of color codes
1 | #
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.