Description Usage Arguments Value
Function for making standardized color range
1 | colFunc(x, cols, nCols, valRange)
|
x |
A vector of numeric values for which you want to generate colors that indicate value. |
cols |
A palette or vector of colors that you want to plot in |
nCols |
The total number of colors you want in the absolute (standardized) scale |
valRange |
The range of values for which you want to
generate colors. If unspecified, the function will
use the range of |
A vector of colors that relate the value of each
element of x
within the range specified by
valRange
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.