formula.mvgam: Extract formulae from 'mvgam' objects

View source: R/formula.mvgam.R

formula.mvgamR Documentation

Extract formulae from mvgam objects

Description

Extract formulae from mvgam objects

Usage

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

## S3 method for class 'mvgam_prefit'
formula(x, trend_effects = FALSE, ...)

Arguments

x

mvgam, jsdgam or mvgam_prefit object

trend_effects

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

...

Ignored

Value

A formula object

Author(s)

Nicholas J Clark


nicholasjclark/mvgam documentation built on April 17, 2025, 9:39 p.m.