Guest User

Untitled

a guest
Dec 12th, 2018
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. library(ggplot2)
  2. library(gridExtra)
  3.  
  4. # example ggplot
  5. plot1 <- ggplot(mtcars, aes(mpg, wt)) + geom_point()
  6. # example gtable
  7. plot2 <- ggplotGrob(plot1)
  8.  
  9. grid.arrange(plot1, plot2)
Add Comment
Please, Sign In to add comment