Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

show 2 ggplots together

require(gridExtra) #import the grid.arrange function through gridExtra package

plot1 <- qplot(x,y1)
plot2 <- qplot(x,y2)
grid.arrange(plot1, plot2, ncol=2)
 
PREVIOUS NEXT
Tagged: #show #ggplots
ADD COMMENT
Topic
Name
2+2 =