Description Usage Arguments Details Value Author(s) See Also Examples
Assign colors to the values of a variable
1 2 |
x |
the quantitative variable to be assigned colors |
pal |
the colors to be supplied to colorRamp |
trans |
the transformation to use on |
xlim |
limits on the variable x, can be omitted, in which case the range of x is used |
This function linearly scales a variable to [0, 1] (potentially after a non- linear transformation) and uses those scaled values as input into colorRamp
A character vector of the desired colors
Andy Rominger <ajrominger@gmail.com>
colorRamp
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.