Learn R Programming

BayesfMRI (version 0.3.11)

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, mask = NULL, 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

mask

(Optional) Original mask applied to data before model fitting

stat

A string representing the posterior summary statistic to be returned