powered by
Fit a linear model with time series components
LM(data, formula, ...)
A data frame
Model specification.
Additional arguments passed to lm
# NOT RUN { USAccDeaths %>% as_tsibble %>% LM(log(value) ~ trend() + season()) library(tsibbledata) olympic_running %>% LM(Time ~ trend()) %>% interpolate(olympic_running) # }
Run the code above in your browser using DataLab