formula.mvgam {mvgam}R 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 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


[Package mvgam version 1.1.2 Index]