# NOT RUN {
sqrt_pm10 = sqrt(pm_10_GR$y)
x = seq(0,23.5, by=.5)
uni_forecast_sqrt_pm10 = forecast(ftsm(fts(x, sqrt_pm10)), h = 10, method = "arima")
multi_forecast_sqrt_pm10 = farforecast(object = fts(x,sqrt_pm10), h = 10, Pmax_value = 3)
par(mfrow = c(1,2))
plot(uni_forecast_sqrt_pm10, ylim = c(5.2,8.5))
plot(multi_forecast_sqrt_pm10, ylim = c(5.2,8.5))
# }
Run the code above in your browser using DataLab