plot.garch11forecast.Rd
Creates a visualization of GARCH(1,1) forecasts with historical data, point forecasts, and prediction intervals.
# S3 method for class 'garch11forecast'
plot(x, main = "GARCH(1,1) Forecasts", xlab = "Time", ylab = "Value", ...)
A ggplot object (if ggplot2 is available) or base R plot
# \donttest{
# After creating forecasts with garch11f()
forecasts <- garch11f(rnorm(100), h = 10)
#> Error in garch11f(rnorm(100), h = 10): could not find function "garch11f"
plot(forecasts)
#> Error: object 'forecasts' not found
plot(forecasts, main = "Custom Title", ylab = "Returns")
#> Error: object 'forecasts' not found
# }