Description Usage Arguments Value
A function that returns a list of forecasts for the input model fits.
1 | predict_models(model_fits, proj_data = NULL, n_periods_to_forecast = 4)
|
model_fits |
list of model fit objects to use in forecast. Can use fit_models() to calculate these. |
proj_data |
if linear regression model is included in model_fits, this data frame is required, containing projected data to use in the forecast |
n_periods_to_forecast |
integer - number of periods to forecast forward. Default is 4 periods. |
data frame containing predictions/forecasts for multiple models
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.