Get Palette
retrieves one of the available palettes
get_palette(palette, rgb = TRUE)
palette |
one of the available paletes. See colour_palettes |
rgb |
logical indicating if the palette should be returned as an RGB matrix
|
3 column matrix if rgb = TRUE
, otherwise a 256-length vector.
get_palette( "viridis" ) get_palette( "rainbow" )
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.