Description Usage Arguments Details Examples
Create your plots and store them in variables, then render in format such as multiplot(p1, p2, p3, p4, cols=2)
1 |
... |
one or more ggplot2 plot objects |
cols |
integer number of columns across, defaults to 1 |
This function is by Winston Chang http://www.cookbook-r.com/Graphs/Multiple_graphs_on_one_page_(ggplot2)/
1 2 3 4 | ## Not run:
multiplot(p1, p2, p3, p4, cols=2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.