multiplot: A function for plotting mutiple gg plots

Description Usage Arguments Details Value Examples

View source: R/plotting.R

Description

Found at http://www.cookbook-r.com/Graphs/Multiple_graphs_on_one_page_(ggplot2)/

Usage

1
multiplot(..., plotlist = NULL, file, cols = 1, layout = NULL)

Arguments

...

ggplot objects can be passed in ..., or to plotlist (as a list of ggplot objects)

plotlist

ggplot objects can be passed in ..., or to plotlist (as a list of ggplot objects)

cols

Number of columns in layout

layout

A matrix specifying the layout. If present, 'cols' is ignored

Details

ggplot objects can be passed in ..., or to plotlist (as a list of ggplot objects)

Value

nothing

Examples

1
If the layout is something like matrix(c(1,2,3,3), nrow=2, byrow=TRUE),

jacobfredsoee/LCEF documentation built on Feb. 7, 2021, 8:10 p.m.