make_future_dataframe: Make dataframe with future dates for forecasting.

Description Usage Arguments Value

Description

Make dataframe with future dates for forecasting.

Usage

1
make_future_dataframe(m, periods, freq = "day", include_history = TRUE)

Arguments

m

Prophet model object.

periods

Int number of periods to forecast forward.

freq

'day', 'week', 'month', 'quarter', 'year', 1(1 sec), 60(1 minute) or 3600(1 hour).

include_history

Boolean to include the historical dates in the data frame for predictions.

Value

Dataframe that extends forward from the end of m$history for the requested number of periods.


prophet documentation built on March 30, 2021, 5:05 p.m.