get.pal | R Documentation |
A helper function to retrieve a vector of colors derived from a given palette generating function.
get.pal(n = 10, pal = "greyscale", rev = FALSE)
n |
The number of colors desired. |
pal |
A character string of the pallet generating function, defaults to pals::ocean.haline |
rev |
A boolean used to flip the order of the colors. |
Thomas Bryce Kelly
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.