Learn R Programming

uGMAR (version 3.2.4)

print.gsmarpred: Print method for class 'gsmarpred' objects

Description

print.gsmarpred is a print method for call 'gsmarpred' objects created with predict.gsmar.

Usage

# S3 method for gsmarpred
print(x, ..., digits = 2)

Arguments

x

object of class 'gsmarpred' generated by predict.gsmar.

...

currently not in use.

digits

the number of digits to be printed

Examples

Run this code
# NOT RUN {
 
# }
# NOT RUN {
 # GMAR-model
 params12 <-  c(0.18, 0.93, 0.01, 0.86, 0.68, 0.02, 0.88)
 gmar12 <- GSMAR(logVIX, 1, 2, params12)
 pred <- predict(gmar12, n_ahead=10, plotRes=FALSE)
 pred
 print(pred, digits=3)
 
# }

Run the code above in your browser using DataLab