Learn R Programming

BayesfMRI (version 0.10.1)

extract_estimates: Extract Estimates of Activation

Description

Obtains the posterior mean or other summary statistic for each latent field

Usage

extract_estimates(INLA_model_obj, session_names, spatial, spde, stat = "mean")

Value

Estimates from inla model

Arguments

INLA_model_obj

An object of class "inla", a result of a call to inla.

session_names

Vector of fMRI session names

stat

A string representing the posterior summary statistic to be returned