Rdocumentation
powered by
Learn R Programming
prophet (version 0.1)
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 = "d", include_history = TRUE)
Arguments
m
Prophet model object.
periods
Int number of periods to forecast forward.
freq
'day', 'week', 'month', 'quarter', or 'year'.
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.