Learn R Programming

BayesfMRI (version 0.3.11)

neg_kappa_fn2: The negative of the objective function for kappa without Sig_inv

Description

The negative of the objective function for kappa without Sig_inv

Usage

neg_kappa_fn2(kappa2, spde, phi, P, mu, Vh)

Value

a scalar

Arguments

kappa2

scalar

spde

an spde object

phi

scalar

P

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

mu

dgeMatrix

Vh

random matrix of -1 and 1 of dim dim(P)