Description Usage Arguments Value Examples
Convert a numeric vector into colors
1 2 |
z |
a vector of numbers |
col1 |
a color name for the min value, default 'navy' |
col2 |
a color name for the middle value, default 'white' |
col3 |
a color name for the max value, default 'red3' |
nbreaks |
Number of colors to be generated. Default is 30. |
center |
boolean, should the data be centered? Default is TRUE |
rank |
boolean, should the data be ranked? Default is FALSE |
a vector of colors
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.