Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

window_function_fit_impl

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

The Tidymodels Extension for Time Series Modeling

v0.5.1
MIT + file LICENSE
Authors
Matt Dancho [aut, cre], Business Science [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.