View source: R/display_carto_all.R
display_carto_all | R Documentation |
Displays a set of the color palettes from CARTOcolor
display_carto_all(n = NULL, type = "all", colorblind_friendly = NULL)
n |
Number of different colors in the palette, minimum depending on the palette (2 or 3), maximum depending on the palette (7 or 11) |
type |
Type of the palette, can be "quantitative", "diverging", "qualitative", "aggregation", or "all" |
colorblind_friendly |
if TRUE, display only colorblind friendly palettes |
display_carto_all()
display_carto_all(type = "quantitative")
display_carto_all(type = c("diverging", "qualitative", "aggregation"))
display_carto_all(3, type = "quantitative")
display_carto_all(7, type = "quantitative")
display_carto_all(7, colorblind_friendly = TRUE)
display_carto_all(7, type = c("diverging", "qualitative", "aggregation"),
colorblind_friendly = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.