All combinations of factor levels plus typical values of continuous variables
data_combos(object, ...)# S3 method for gam
data_combos(
object,
vars = everything(),
complete = TRUE,
envir = environment(formula(object)),
data = NULL,
...
)
a fitted model object.
arguments passed to methods.
terms to include or exclude from the returned object. Uses tidyselect principles.
logical; should all combinations of factor levels be
returned? If FALSE, only those combinations of levels observed in the
model are retained.
the environment within which to recreate the data used to fit
object.
an optional data frame of data used to fit the model if reconstruction of the data from the model doesn't work.