View source: R/run_colorexplorer.R
run_colorexplorer | R Documentation |
Run the colorexplorer shiny app
run_colorexplorer(plotobj = NULL)
plotobj |
You can pass a |
The app requires the following additional packages:
'shiny'
'colourpicker'
'colorblindr' (available on GitHub at https://github.com/clauswilke/colorblindr)
Make sure they are installed or the app won't work.
## Not run:
library(ggplot2)
g <- ggplot(mpg, aes(class, fill=class)) + geom_bar()
run_colorexplorer(g)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.