Skip to contents

Extract formulae from mvgam objects

Usage

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

# S3 method for 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

Nicholas J Clark