View source: R/predict_forecast.R
predict_forecast_data | R Documentation |
predict_forecast_data()
generates a prediction vector from a forecast object
and full data frame, putting this prediction back into the data frame.
predict_forecast_data(
df,
forecast_obj,
sort_col,
sort_descending,
pred_col,
pred_upper_col,
pred_lower_col
)
df |
Data frame of model data. |
forecast_obj |
Object of class |
sort_col |
Column name(s) to use to |
sort_descending |
Logical value on whether the sorted values from |
pred_col |
Column name to store predicted value. |
pred_upper_col |
Column name to store upper bound of confidence interval
generated by the |
pred_lower_col |
Column name to store lower bound of confidence interval
generated by the |
A data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.