Learn R Programming

BayesfMRI (version 0.3.11)

get_posterior_densities: Extracts posterior density estimates for hyperparameters

Description

Extracts posterior density estimates for hyperparameters

Usage

get_posterior_densities(INLA_model_obj, spde, task_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()

spde

The model used for the latent fields in the inla() call, an object of class "inla.spde"

task_names

Descriptive names of model regressors (tasks).

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.