Learn R Programming

Rmisc (version 1.5)

multiplot: Multiple plot function

Description

Renders multiple ggplot plots in one image

Usage

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

Arguments

...

ggplot objects

plotlist

a list of ggplot objects

cols

Number of columns in layout

layout

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

References

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