View source: R/map_palettes_and_themes.R
palettes_countries | R Documentation |
This function provides access to the discrete colours palettes used in this packages' 11 themes.
palettes_countries(n, theme = 1, reverse = FALSE)
n |
Number of desired colours |
theme |
A numeric value or name identifying the theme's colours. Can be a number between 1 and 11, or one of the theme's names: |
reverse |
Logical value indicating whether to reverse the order of the palette's colours Default is FALSE. |
Returns n colours from the requested theme
quick_map
palettes_countries(5, theme = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.