generateMultiplot: generateMultiplot

Description Usage Arguments Details Value References Examples

View source: R/generateMultiplot.R

Description

generateMultiplot Assembles multiple plots into a single window

Usage

1
generateMultiplot(..., title, fontsize = 12, cols = 2)

Arguments

...

All plot objects to assemble, separated by commas. (required)

title

character string of the title you would like to assign to the multiplot, multiplot title is independent of any titles set to individual plots. (required)

fontsize

numeric value of the fontsize to use in rendering the multiplot title, default is 12. (optional)

cols

numeric value for the number of columns into which to assemble input plots, default is 2. (optional)

Details

This function allows you to assemble several plot objects into a single window for more convenient display and saving. The function has options for customizing the number of columns (into which plots are arranged), and the title assigned to the overall multiplot. This function was created to serve users who were generating multiple weather/agronomic plots using functions elsewhere in this package, but wanted to be able to combine them into a single "analysis" window in order to more easily detect combinations of conditions.

Value

plot object

References

See other functions in this package for generating plots as inputs.

Examples

1
## Not run: generateMultiplot(rain_plot, maxtemp_plot, fontsize = 20, cols = 1)

aWhereAPI/aWhere-R-Charts documentation built on Dec. 30, 2021, 12:58 p.m.