powered by
Extracts the fitted values.
# S3 method for model_mean fitted(object, ...)
A vector of fitted values.
A model for which forecasts are required.
Other arguments passed to methods
library(tsibbledata) vic_elec %>% model(avg = MEAN(Demand)) %>% fitted()
Run the code above in your browser using DataLab