generate_cutoffs {prophet} | R Documentation |
Generate cutoff dates
generate_cutoffs(df, horizon, initial, period)
df |
Dataframe with historical data. |
horizon |
timediff forecast horizon. |
initial |
timediff initial window. |
period |
timediff Simulated forecasts are done with this period. |
Array of datetimes.