showPals | R Documentation |
Show a plot demonstrating all colors in the provided palettes
showPals(pal = NULL, numbers = T)
pal |
Either a character vector of colors or a list of character vectors |
numbers |
On each of the colors, show a number |
## Show all palettes in plotwidget showPals(plotPals()) ## Show just a few colors showPals(c("red", "green", "blue"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.