Low-Level Window Forecast
Arguments
- x
A dataframe of xreg (exogenous regressors)
- y
A numeric vector of values to fit
- id
An optional ID feature to identify different time series. Should be a quoted name.
- window_size
The period to apply the window function to
- window_function
A function to apply to the window. The default is
mean()
.- ...
Additional arguments for the
window_function
. For example, it's common to passna.rm = TRUE
for the mean forecast.