View source: R/predict_general_mdl.R
predict_general_data | R Documentation |
predict_general_data()
generates a prediction vector from a model object and full
data frame, putting this prediction back into the data frame.
predict_general_data(df, model, pred_col, pred_upper_col, pred_lower_col)
df |
Data frame of model data. |
model |
An R function that outputs a model object with a |
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.