model: Print the defined model of a varstan object.

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/model.R

Description

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

Usage

1
model(object,...)

Arguments

object

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

...

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

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

bayesforecast documentation built on June 17, 2021, 5:14 p.m.