model: Print the defined model of a 'varstan' object.

View source: R/model.R

modelR Documentation

Print the defined model of a varstan object.

Description

The function returns a string with the users defined model for the given time series data.

Usage

model(object, ...)

Arguments

object

a varstan object or one of the defined current defined models.

...

additional values need in print methods.

Details

if object is a varstan object the function will print the information of the defined model inside of the object. If object is one of the model classes (like Sarima, garch, SVM or varma), then it will print the model information as well.

For full information of the model with the used priors use the function report or just print the object.

Value

a string with the defined time series model.

Author(s)

Asael Alonzo Matamoros.

See Also

report print

Examples

model1 = Sarima(birth,order = c(0,1,2),seasonal = c(1,1,1))
model(model1)


bayesforecast documentation built on June 8, 2025, 10:42 a.m.