library(ahead)
library(forecast)
x <- fdeaths 
xreg <- ahead::createtrendseason(x)
(z <- ahead::ridge2f(x, xreg = xreg, h=20))
autoplot(z)
x <- USAccDeaths
xreg <- ahead::createtrendseason(x)
(z <- ahead::ridge2f(x, xreg = xreg, h=20))
autoplot(z)


Techtonique/ahead documentation built on Nov. 24, 2024, 10:33 a.m.