predict_inla_data | R Documentation |
predict_inla_data()
generates a prediction vector from an INLA::inla()
output object, putting this prediction back into the data frame.
predict_inla_data(df, model, pred_col, pred_upper_col, pred_lower_col)
df |
Data frame of model data. |
model |
INLA model object returned by |
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.