plotwidgetGallery | R Documentation |
A showcase of all plot types available in plotwidgets
plotwidgetGallery(theme = "default", pal = NULL, ...)
theme |
sets both the palette and a suitable bakckground (e.g. dark for "neon") |
pal |
color palette to use (a character vector with colors) |
... |
all subsequent parameters will be passed to the plotWidget() function. |
plotwidgetGallery() simply draws all available plot widgets on a single plot.
Invisibly returns the example data used to generate the plots
plotwidgetGallery() ## automatically set black bg plotwidgetGallery(theme="neon") ## yuck, ugly: plotwidgetGallery(pal=c("red", "#FF9900", "blue", "green", "cyan", "yellow")) ## much better: plotwidgetGallery(pal=plotPals("pastel", alpha=0.8))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.