gradcols | R Documentation |
Get gradient default colors for plots
gradcols(col_vec = NULL)
col_vec |
chr string of plot colors to use. Any color palette from RColorBrewer can be used as a named input. Palettes from grDevices must be supplied as the returned string of colors for each palette. |
This is a convenience function for retrieving a color palette. Palettes from RColorBrewer will use the maximum number of colors. The default palette is 'Spectral'.
A character vector of colors in hexidecimal notation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.