make_replicates {BayesfMRI} | R Documentation |
Make replicates
Description
beta and repl vectors are of length nMesh \times nSess \times n_field
.
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.
Usage
make_replicates(nSess, field_names, spatial)
Arguments
nSess |
The number of sessions sharing hyperparameters (can be different fields) |
field_names |
Vector of names for each field |
spatial |
Spatial info |
Value
replicates vector and betas for sessions
[Package BayesfMRI version 0.10.1 Index]