powered by
MEAN() returns an iid model applied to the formula's response variable.
MEAN()
MEAN(formula)
Model specification.
The model does not use any specials, and so everything on the formula's right-hand-side will be ignored.
# NOT RUN { library(tsibbledata) elecdemand %>% model(rw = MEAN(Demand)) # }
Run the code above in your browser using DataLab