data_combos {gratia} | R Documentation |
All combinations of factor levels plus typical values of continuous variables
Description
All combinations of factor levels plus typical values of continuous variables
Usage
data_combos(object, ...)
## S3 method for class 'gam'
data_combos(
object,
vars = everything(),
complete = TRUE,
envir = environment(formula(object)),
data = NULL,
...
)
Arguments
object |
a fitted model object. |
... |
arguments passed to methods. |
vars |
terms to include or exclude from the returned object. Uses tidyselect principles. |
complete |
logical; should all combinations of factor levels be
returned? If |
envir |
the environment within which to recreate the data used to fit
|
data |
an optional data frame of data used to fit the mdoel if reconstruction of the data from the model doesn't work. |
[Package gratia version 0.9.2 Index]