Learn R Programming

BayesBrainMap (version 0.1.3)

lik: Compute likelihood in SPDE model for ESS estimation

Description

Compute likelihood in SPDE model for ESS estimation

Usage

lik(theta, Y, G, C, ind = NULL)

Value

Log likelihood value

Arguments

theta

Value of hyperparameters

Y

Data vector

G

SPDE G matrix

C

SPDE C matrix

ind

Indices of data locations in the mesh