Skip to contents

Analog to facet_wrap() for the seasonal gam panels. If there are two predictors of interest, consider grid_panels() instead.

Usage

wrap_panels(panel_df, ncol = NULL, nrow = NULL, title_size = 8)

Arguments

panel_df

A dataframe from plot_seasonal_gam_panels.

ncol

Optional. Force a number of columns. Numeric, defaults to NULL.

nrow

Optional. Force a number of rows. Numeric, defaults to NULL.

title_size

size of panel title text. Numeric, defaults to 8.

Value

A wrapped plot object with row and column labels.