generate_cutoffs: Generate cutoff dates

View source: R/diagnostics.R

generate_cutoffsR Documentation

Generate cutoff dates

Description

Generate cutoff dates

Usage

generate_cutoffs(df, horizon, initial, period)

Arguments

df

Dataframe with historical data.

horizon

timediff forecast horizon.

initial

timediff initial window.

period

timediff Simulated forecasts are done with this period.

Value

Array of datetimes.


prophet documentation built on Jan. 22, 2026, 9:06 a.m.