Description Usage Arguments Examples
This function allows the display of multiple ggplots in a single graphics window.
1 |
x |
A vector of numbers representing the panel which a plot will occupy. |
1 2 3 4 5 6 7 8 | ## Not run:
#p1 <- ggplot(data, aes(var1, var2)) +
#geom_point()
#p2 <- ggplot(data, aes(var1, var2)) +
#geom_line()
#multiplot(p1, p2, cols = 1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.