Description Usage Arguments Value References
View source: R/plotting_functions.r
Generate a grid of plots with a shared legend
| 1 2 3 4 5 6 | 
| ... | A set of plots to arrange with a shared legend. | 
| ncol | Number of columns to plot. | 
| nrow | Number of rows to plot. | 
| position | Position of legend ("bottom" or "right"). | 
A ggplot plot
https://github.com/tidyverse/ggplot2/wiki/Share-a-legend-between-two-ggplot2-graphs
http://rpubs.com/sjackman/grid_arrange_shared_legend
http://stackoverflow.com/questions/13649473/add-a-common-legend-for-combined-ggplots
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.