Learn R Programming

BayesfMRI (version 0.3.11)

neg_kappa_fn4: Streamlined negative objective function for kappa2 using precompiled values

Description

Streamlined negative objective function for kappa2 using precompiled values

Usage

neg_kappa_fn4(kappa2, spde, a_star, b_star, n_sess)

Value

scalar output of the negative objective function

Arguments

kappa2

scalar

spde

SPDE prior matrix

a_star

precomputed coefficient (scalar)

b_star

precomputed coefficient (scalar)

n_sess

number of sessions (scalar)