Skip to contents

Index mvgam objects

Usage

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

if (FALSE) {
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,
            burnin = 300,
            samples = 300,
            chains = 2)
variables(mod)
}