This function plots multiple ggplot objects passed in as either ..., or to plotlist (as a list of ggplot objects).
Arguments
- ...
Required. Multiple ggplot objects, or a plotlist as a list of ggplot objects
- plotlist
Optional. A list of ggplot objects. (Default = NULL)
- file
Optional. A file name to save the plot as, currently non-functional. (Default=NULL)
- cols
Optional. (Default = 1)
- layout
Optional. The plot layout as a matrix. eg. if `layout = matrix(c(1,2,3,3), nrow=2, byrow=TRUE)`, then plot 1 will go in the upper left, 2 will go in the upper right, and 3 will go all the way across the bottom.