| index-mvgam | R Documentation |
mvgam objectsIndex mvgam objects
## S3 method for class 'mvgam'
variables(x, ...)
x |
|
... |
Arguments passed to individual methods (if applicable). |
a list object of the variables that can be extracted, along
with their aliases
Nicholas J Clark
## Not run:
# Simulate data and fit a model
simdat <- sim_mvgam(
n_series = 1,
trend_model = AR()
)
mod <- mvgam(
y ~ s(season, bs = 'cc', k = 6),
trend_model = AR(),
data = simdat$data_train,
chains = 2,
silent = 2
)
# Extract model variables
variables(mod)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.