beta and repl vectors are of length \(nvox \times n_sess \times n_task\). The ith repl vector is an indicator vector for the cells corresponding to the ith column of x. The ith beta vector contains data indices (e.g. 1,...,V) in the cells corresponding to the ith column of x.
organize_replicates(n_sess, task_names, mesh)
replicates vector and betas for sessions
The number of sessions sharing hyperparameters (can be different tasks)
Vector of names for each task
An "inla.mesh"
object (see make_mesh
for
surface data).