Extracts posterior density estimates for hyperparameters
get_posterior_densities(INLA_model_obj, spde, task_names)
Long-form data frame containing posterior densities for the hyperparameters associated with each latent field
An object of class "inla"
, a result of a call to
inla()
The model used for the latent fields in the inla()
call,
an object of class "inla.spde"
Descriptive names of model regressors (tasks).
This function requires the INLA
package, which is not a CRAN package.
See https://www.r-inla.org/download-install for easy installation instructions.