color.palette | R Documentation |
Helper function allowing greater control over the steps in a color palette. Source: http://menugget.blogspot.com/2011/11/define-color-steps-for- colorramppalette.html#more
color.palette(steps, between = NULL, ...)
steps |
Vector of colors to change use in the palette |
between |
Steps where gradients change |
... |
Additional arguments of colorRampPalette |
Color palette
color.palette(c("darkblue", "white", "darkred"),
c(2, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.