Learn R Programming

prophet (version 0.2.1)

generate_cutoffs: Generate cutoff dates

Description

Generate cutoff dates

Usage

generate_cutoffs(df, horizon, k, period)

Arguments

df

Dataframe with historical data

horizon

timediff forecast horizon

k

integer number of forecast points

period

timediff Simulated forecasts are done with this period.

Value

Array of datetimes