window_function_fit_impl: Low-Level Window Forecast

View source: R/parsnip-window_reg.R

window_function_fit_implR Documentation

Low-Level Window Forecast

Description

Low-Level Window Forecast

Usage

window_function_fit_impl(
  x,
  y,
  id = NULL,
  window_size = "all",
  window_function = NULL,
  ...
)

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 pass na.rm = TRUE for the mean forecast.


modeltime documentation built on Oct. 23, 2024, 1:07 a.m.