Skip to contents

Typical values of model covariates

Usage

typical_values(object, ...)

# S3 method for gam
typical_values(
  object,
  vars = everything(),
  envir = environment(formula(object)),
  data = NULL,
  ...
)

# S3 method for data.frame
typical_values(object, vars = everything(), ...)

Arguments

object

a fitted GAM(M) model.

...

arguments passed to other methods.

vars

terms to include or exclude from the returned object. Uses tidyselect principles.

envir

the environment within which to recreate the data used to fit object.

data

an optional data frame of data used to fit the model if reconstruction of the data from the model doesn't work.