Learn R Programming

BayesfMRI (version 0.10.1)

get_posterior_densities2: Extracts posterior density estimates for hyperparameters for volumetric SPDE

Description

Extracts posterior density estimates for hyperparameters for volumetric SPDE

Usage

get_posterior_densities2(INLA_model_obj, field_names)

Value

Long-form data frame containing posterior densities for the hyperparameters associated with each latent field

Arguments

INLA_model_obj

An object of class "inla", a result of a call to inla()

field_names

Descriptive names of model regressors (fields).

INLA Requirement

This function requires the INLA package, which is not a CRAN package. See https://www.r-inla.org/download-install for easy installation instructions.