powered by
Plots lists of ggplot2 plot objects layout functionality.
# S3 method for ggedit print(x, layout = NULL, byrow = FALSE, ...)
list of ggplot2 plot objects
matrix, layout of plots like in layout, if NULL then a default layout is used, Default: NULL
layout
boolean, argument passed to default layout (when layout is NULL), used to transpose the output.
not used
p <- as.gglist(pList[1:2]) p p1 <- p+geom_hline(aes(yintercept=3)) p1 print(p1,byrow=TRUE) print(p1,layout = matrix(c(2,2,NA,1),ncol=2))
Run the code above in your browser using DataLab