Function for a default boxplot ggplot that can be used to
nested data to some default plots. The base plot can be appended with
ggplot::geom_point for example to create a scatterplot.
A data.frame with values to plot
Title of the plot
A named list of plot settings
plotCols list must be named with at least
Column name of values on the X-axis
Column name of values on the y-axis
Column name of values to color by
Optionally, you can also add facets,
Column name of vertical facets
Column name of horizontal facets
ggplot object without any
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.