View source: R/display_unhcr_pal.R
display_unhcr_all | R Documentation |
Displays a set of the color palettes from UNHCR color
display_unhcr_all(n = NULL, type = "all")
n |
Number of different colors in the palette, minimum depending on the palette (2), maximum depending on the palette (5, 7 or 10) |
type |
Type of the palette, can be "sequential", "diverging", "qualitative" or "all" |
No return value, called for side effects
library(unhcrthemes)
display_unhcr_all()
display_unhcr_all(type = "diverging")
display_unhcr_all(type = c("diverging", "qualitative", "sequential"))
display_unhcr_all(n = 3, type = "sequential")
display_unhcr_all(n = 5, type = "sequential")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.