# NOT RUN {
# }
# NOT RUN {
library(forecast)
data(USgas)
# Create a model
fit <- auto.arima(USgas)
# Simulate 100 possible forecast path, with horizon of 60 months
forecast_sim(model = fit, h = 60, n = 100)
# }
Run the code above in your browser using DataLab