glottocolpal | R Documentation |
Color palettes for maps and figures
glottocolpal(palette, ncolr = NULL, rev = FALSE, alpha = NULL, show = FALSE)
palette |
Name of color palette, use glottocolpal("all") to see the options |
ncolr |
Number of colors to be generated (optional) |
rev |
Should the order of colors be reversed? |
alpha |
Values between 0 (transparent) and 1 (opaque) |
show |
Do you want to plot the color palette? |
A vector of colors, optionally plotted.
glottocolpal(palette = "turbo", show = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.