View source: R/paletteer_dynamic.R
paletteer_dynamic | R Documentation |
Available package/palette combinations are available in the data.frame
palettes_dynamic_names
.
paletteer_dynamic(palette, n, direction = 1)
palette |
Name of palette as a string. Must be on the form packagename::palettename. |
n |
Number of colors desired. If omitted, returns complete palette. |
direction |
Either |
A vector of colors.
paletteer_dynamic("ggthemes_solarized::green", 8)
paletteer_dynamic("cartography::sand.pal", 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.