Learn R Programming

bayesforecast (version 1.0.1)

model: 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 in varstan package.

...

additional values need in print methods

Value

a string with the defined time series model.

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.

See Also

report print

Examples

Run this code
# NOT RUN {
library(astsa)
model1 = Sarima(birth,order = c(0,1,2),seasonal = c(1,1,1))
model(model1)

# }

Run the code above in your browser using DataLab