View source: R/fit_bayesglm_utils.R
make_replicates | R Documentation |
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.
make_replicates(nSess, field_names, spatial)
nSess |
The number of sessions sharing hyperparameters (can be different fields) |
field_names |
Vector of names for each field |
spatial |
Spatial info |
replicates vector and betas for sessions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.