multiplot: Multiple plot function

View source: R/multiplot.R

multiplotR Documentation

Multiple plot function

Description

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

Usage

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

Arguments

...

ggplot objects

plotlist

A list of ggplot objects. Will be combined with objects in ...

cols:

Number of columns in layout

layout:

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

Value

A single grid object containing all of the plots arranged as specified in cols or layout


rwash/surveys documentation built on Sept. 18, 2023, 11:31 p.m.