Learn R Programming

prophet (version 1.1.7)

generate_cutoffs: Generate cutoff dates

Description

Generate cutoff dates

Usage

generate_cutoffs(df, horizon, initial, period)

Value

Array of datetimes.

Arguments

df

Dataframe with historical data.

horizon

timediff forecast horizon.

initial

timediff initial window.

period

timediff Simulated forecasts are done with this period.