index-mvgam: Index 'mvgam' objects

index-mvgamR Documentation

Index mvgam objects

Description

Index mvgam objects

Usage

## S3 method for class 'mvgam'
variables(x, ...)

Arguments

x

list object returned from mvgam. See mvgam()

...

Arguments passed to individual methods (if applicable).

Value

a list object of the variables that can be extracted, along with their aliases

Examples


simdat <- sim_mvgam(n_series = 1, trend_model = 'AR1')
mod <- mvgam(y ~ s(season, bs = 'cc', k = 6),
             trend_model = AR(),
             data = simdat$data_train,
            chains = 2,
            silent = 2)
variables(mod)


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