R/fp.forecast.R

fp.forecast <-
function (x, h=1, conf.level=95) 
{
#conf.level <- conf.level*100

aax <- forecast::auto.arima(x)

ans <- forecast::forecast(aax, h=h, level=conf.level)


return(cbind(ans$mean, ans$lower, ans$upper))
}

Try the forecastLSW package in your browser

Any scripts or data that you put into this service are public.

forecastLSW documentation built on Aug. 22, 2025, 1:09 a.m.