merge2GOF | R Documentation |
Merging multiple GOFs (ggplot objects) into one graph with caption added as reurned by get.caption. Any legend present in first GOF is added to the combined graph.
merge2GOF(p1, p2, byrow = TRUE)
merge4GOF(p1, p2, p3, p4)
merge6GOF(p1, p2, p3, p4, p5, p6)
p1 |
first ggplot object |
p2 |
second ggplot object |
byrow |
combine plots side by side (TRUE) or one above the other (FALSE) |
p3 |
third ggplot object |
p4 |
4th ggplot object |
p5 |
5th ggplot object |
p6 |
6th ggplot object |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.