MEAN() returns an iid model applied to the formula's response variable.
A model specification.
The model does not use any specials, and so everything on the formula's right-hand-side will be ignored.
This model does not support usage of any specials. It only computes the mean!
library(tsibbledata) vic_elec %>% model(avg = MEAN(Demand))#> # A mable: 1 x 1 #> avg #> <model> #> 1 <MEAN>