tidyverts/fasster

Error when running "forecast"

Closed this issue · 1 comments

I just followed the code example on the README but when I tried to run the forecasting function, I got an error message "Error: x is not a tsibble". Any ideas? Thanks in advance!

library(fable)
fit <- as_tsibble(USAccDeaths) %>% 
  model(fasster = FASSTER(value ~ poly(1) + trig(12)))
fit %>% 
  forecast(h=24) %>%
  autoplot(as_tsibble(USAccDeaths))