powered by
Extracts the fitted values.
# S3 method for RW fitted(object, ...)
A vector of fitted values.
The time series model used to produce the forecasts
Additional arguments for forecast model methods.
as_tsibble(Nile) %>% model(NAIVE(value)) %>% fitted() library(tsibbledata) aus_production %>% model(snaive = SNAIVE(Beer ~ lag("year"))) %>% fitted()
Run the code above in your browser using DataLab