Description Usage Arguments Value Author(s)
Scale a continuous vector into color representation
1 2 | num2color(x, cp = colorpanel(100, low = "blue", mid = "black", high =
"yellow"))
|
x |
a numeric vector |
cp |
the color spectrum (default: colorpanel(100, low = 'blue', mid = 'black', high = 'yellow')) |
a character vector of HTML-style RGB colors
Wuming Gong, gongx030@umn.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.