Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

make_future_dataframe

Make dataframe with future dates for forecasting.


Description

Make dataframe with future dates for forecasting.

Usage

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

Automatic Forecasting Procedure

v1.0
MIT + file LICENSE
Authors
Sean Taylor [cre, aut], Ben Letham [aut]
Initial release
2021-03-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.