hdx_display_pal {gghdx} | R Documentation |
Display HDX palette
Description
Displays the HDX color palettes. By default, shows all values for all
palettes. You can change the number of values for each palette or only
show a subset of the available palettes (from hdx_pal_...()
).
Usage
hdx_display_pal(
n = NULL,
palette = c("discrete", "gray", "mint", "sapphire", "tomato")
)
Arguments
n |
Number of colors for each palette to show. |
palette |
Character vector of palettes to show. |
Value
Plot of HDX color palettes.
Examples
hdx_display_pal()
hdx_display_pal(n = 3)
[Package gghdx version 0.1.3 Index]