generate_cutoffs: 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.