GetPalette | R Documentation |
This function should not called directly, but instead be called via
GetVectorOfColors
instead. It remains an exported function
because it is used in older versions of the Standard R pages
GetPalette(palette, template)
palette |
A string naming the palette to be used. |
template |
A list specifying color palettes and other visualization options. |
A palette which can be used as given.colors
in ChartColors.
So it can be either the name of a predefined palette (e.g. "Strong colors")
or a vector of colors (e.g. from the template output)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.