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