Retrieve palette by name from palettes list stored in sysdata.rda
1 2 3 4 5 | disco(palette, n = NULL, alpha = NULL, direction = 1)
disco_palette_names()
disco_palette_data(palette)
|
palette |
The name of the palette from which to select colors |
n |
Number of colors selected |
alpha |
Degree of opacity in [0, 1] |
direction |
Order of colors (1 = forward, -1 = reverse) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.