mergePlots: Merge two ggplot plots with a legend on the right hand side...

Description Usage Arguments Value Author(s)

Description

Used for merging plots of different heights (unlike facets) with a common x-axis.

Usage

1
mergePlots(..., plotTitle = "", heights = NULL)

Arguments

...

ggplot grobs to merge

plotTitle

title to place at top of plot

heights

vector of weights (e.g. c(2,1,1) for half page and two quarter page plots) for heights

Value

grob of merged plots

Author(s)

Evan Heisman


eheisman/hydroutils documentation built on May 16, 2019, 12:15 a.m.