display_unhcr_all: UNHCR color palettes viewer

View source: R/display_unhcr_pal.R

display_unhcr_allR Documentation

UNHCR color palettes viewer

Description

Displays a set of the color palettes from UNHCR color

Usage

display_unhcr_all(n = NULL, type = "all")

Arguments

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"

Value

No return value, called for side effects

Examples

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")


unhcrthemes documentation built on Nov. 27, 2023, 9:07 a.m.