Skip to contents

Extract model.frame from a fitted mvgam object

Usage

# S3 method for mvgam
model.frame(formula, trend_effects = FALSE, ...)

# S3 method for mvgam_prefit
model.frame(formula, trend_effects = FALSE, ...)

Arguments

formula

a model formula or terms object or an R object.

trend_effects

logical, return the model.frame from the observation model (if FALSE) or from the underlying process model (ifTRUE)

...

Ignored

Value

A matrix containing the fitted model frame

Author

Nicholas J Clark