This is a light wrapper around patchwork::wrap_plots().

pm_grid(x, ..., ncol = 2)

Arguments

x

A list of plots.

...

Passed to patchwork::wrap_plots().

ncol

Passed to patchwork::wrap_plots().

Details

The patchwork package must be installed to use this function.

Examples

data <- pmplots_data_obs()

plot <- wres_cont(data, x = c("WT", "ALB"))

pm_grid(plot)
#> Loading required namespace: patchwork
#> `geom_smooth()` using formula 'y ~ x'
#> `geom_smooth()` using formula 'y ~ x'