View source: R/display_carto_pal.R
display_carto_pal | R Documentation |
Displays a color palette from CARTOcolor
display_carto_pal(n = NULL, name)
n |
Number of different colors in the palette, minimum depending on palette (2 or 3), maximum depending on palette (7 or 11) |
name |
A palette name |
display_carto_pal(7, "Burg")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.