model.frame.mvgam: Extract model.frame from a fitted 'mvgam' object

View source: R/model.frame.mvgam.R

model.frame.mvgamR Documentation

Extract model.frame from a fitted mvgam object

Description

Extract model.frame from a fitted mvgam object

Usage

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

## S3 method for class '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 (if TRUE)

...

Ignored

Value

A matrix containing the fitted model frame

Author(s)

Nicholas J Clark


mvgam documentation built on Jan. 21, 2026, 9:07 a.m.