multiplot | R Documentation |
Print multiple ggplots in one file. Slightly modified for packaging from the original version in the web.
multiplot(..., plotlist = NULL, cols = 1, layout = NULL)
... |
A list of ggplot objects separated by commas. |
plotlist |
A list of ggplot objects |
cols |
The number of columns. |
layout |
A matrix specifying the layout. If present, 'cols' is ignored. |
A plot object
http://www.cookbook-r.com/Graphs/Multiple_graphs_on_one_page_(ggplot2)/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.