Learn R Programming

BayesfMRI (version 0.3.11)

TrQEww: Trace approximation function

Description

Trace approximation function

Usage

TrQEww(kappa2, spde, P, mu, Vh)

Value

a scalar

Arguments

kappa2

a scalar

spde

spde object

P

Matrix of dimension nk by N_s found by solve(Sig_inv,Vh)

mu

posterior mean

Vh

matrix of random variables with nrow(Sig_inv) rows and Ns columns