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

rolling_mean_by_h

Compute a rolling mean of x, after first aggregating by h


Description

Right-aligned. Computes a single mean for each unique value of h. Each mean is over at least w samples.

Usage

rolling_mean_by_h(x, h, w, name)

Arguments

x

Array.

h

Array of horizon for each value in x.

w

Integer window size (number of elements).

name

String name for metric in result dataframe.

Value

Dataframe with columns horizon and name, the rolling mean of x.


prophet

Automatic Forecasting Procedure

v1.0
MIT + file LICENSE
Authors
Sean Taylor [cre, aut], Ben Letham [aut]
Initial release
2021-03-08

We don't support your browser anymore

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