colorpanel | R Documentation |
colorpanel generate a set of colors that varies smoothly. redgreen, greenred, bluered, and redblue generate red-black-green, green-black-red, red-white-blue, and blue-white-red colorbars, respectively. colors
colorpanel(n, low, mid, high)
n |
Desired number of color elements in the panel. |
low |
Color to use for the lowest value. |
mid |
Color to use for the middle value. May be ommited. |
high |
Color to use for the highest values. |
Vector of HTML-style RGB colors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.