Learn R Programming

BayesfMRI (version 0.3.11)

prep_kappa2_optim: Find values for coefficients used in objective function for kappa2

Description

Find values for coefficients used in objective function for kappa2

Usage

prep_kappa2_optim(spde, mu, phi, P, vh)

Value

a list with two elements, which are precomputed coefficients for the optimization function

Arguments

spde

an spde object

mu

the mean

phi

scale parameter

P

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

vh

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