Learn R Programming

uGMAR (version 3.0.1)

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

Description

print.gsmarpred is print method for object generated by predict.gsmar().

Usage

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

Arguments

x

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

...

currectly not used.

digits

number of decimals to print

Examples

Run this code
# NOT RUN {
 
# }
# NOT RUN {
 # GMAR-model
 params12 <- c(1.12321, 0.90557, 0.29288, 4.53131,
               0.70309, 3.21154, 0.83888)
 gmar12 <- GSMAR(VIX, 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