ggptt_pal | R Documentation |
Color palettes in ggptt package (discrete).
ggptt_pal(n = NULL, name, last_grey = FALSE)
n |
A number of colour needed. NULL (default) return all available. |
name |
A name of the palette. See |
Colors in palerres are recycled if needed (with warning).
Available palettes are: ptt, vnk.
Other ggptt_pal:
aw_pal()
,
ptt_pal()
,
vnk_pal()
scales::show_col(ggptt_pal(n = 6, name = "ptt"))
scales::show_col(ggptt_pal(n = 6, name = "vnk"))
scales::show_col(ggptt_pal(n = 6, name = "ptt", last_grey = TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.