Description Usage Arguments explanation
ggpalette_palette
1 | ggpalette_pal(primary = "pink", other = "orange", direction = 1)
|
Usage: |
ggpalette(primary = "pink", other = "orange", direction = 1) |
Arguments: |
primary specify a manual color other specifies the name of the second (or other) color direction default value is 1; allows the user reverse the order of the palette |
Value: |
n is the number of colours being picked, and returne message or warn the user if n is larger than the number of colours in the palette. |
A function that takes a single argument n and returns n colors, and let the user re-order the colors for specific values of n
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.