library(ahead)
## Loading required package: foreach
## Loading required package: snow
## Loading required package: forecast
## Registered S3 method overwritten by 'quantmod':
##   method            from
##   as.zoo.data.frame zoo
## Loading required package: ggplot2
## Loading required package: tseries
obj1 <- ahead::fitforecast(AirPassengers)
obj2 <- ahead::fitforecast(AirPassengers, 
                           conformalize = TRUE)
obj3 <- ahead::fitforecast(USAccDeaths, method = "dynrmf")
obj4 <- ahead::fitforecast(USAccDeaths, 
                           conformalize = TRUE, method = "dynrmf")
obj6 <- ahead::fitforecast(USAccDeaths, 
                           conformalize = TRUE, method = "te")


par(mfrow=c(1, 2))
plot(AirPassengers)
plot(obj1)

par(mfrow=c(1, 2))
plot(AirPassengers)
plot(obj2)

par(mfrow=c(1, 2))
obj2$plot()
obj2$plot("simulations")

par(mfrow=c(1, 2))
obj3$plot()
obj4$plot()

obj6$plot()