Error when running "forecast"
Closed this issue · 1 comments
jpzhangvincent commented
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))
mitchelloharawild commented
fasster is set to work with the CRAN version of tsibble. This is because we
are planning to release fable (and possibly fasster) within the next few
weeks. If you install tsibble from CRAN it should work fine.
…On Thu., 30 May 2019, 3:24 am Jiaping(JP) Zhang, ***@***.***> wrote:
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))
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#44?email_source=notifications&email_token=AD3BJF76NYUOWWQV2IOQSXDPX235PA5CNFSM4HQO6OM2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GWRMOZA>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AD3BJF3P6RPTLRRFACKWGB3PX235PANCNFSM4HQO6OMQ>
.