View source: R/Visualization.R
chooseColors | R Documentation |
Choose color schema from a palette
chooseColors(
palettes_name = c("Nature 10", "Light 13", "Classic 20", "Blink 23", "Hue n"),
n_colors = 7,
alpha = 1,
plot_colors = FALSE
)
palettes_name |
a string, the palette name, one of "Nature 10", "Light 13", "Classic 20", "Blink 23" and "Hue n", default as 'Nature 10'. |
n_colors |
a positive integer, the number of colors. |
alpha |
a positive real, the transparency of the color. |
plot_colors |
a logical value, whether plot the selected colors. |
chooseColors()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.