plot_grid: Plot a Grid of Plots

Description Usage Arguments Value

View source: R/plot.R

Description

Plot a Grid of Plots

Usage

1
2
3
4
5
6
7
plot_grid(
  regions = NULL,
  plot_object = "bigr_eff_plot.rds",
  results_dir = "results",
  target_date = NULL,
  ...
)

Arguments

regions

A character string containing the list of regions to extract results for (must all have results for the same target date).

plot_object

A character string indicating the plot object to use as the base for the grid.

results_dir

A character string indicating the location of the results directory to extract results from.

target_date

A character string indicating the target date to extract results for. All regions must have results for this date.

...

Additional arguments to pass to patchwork::plot_layout

Value

A ggplot2 object combining multiple plots


epiforecasts/EpiNow documentation built on Oct. 26, 2020, 2:38 p.m.