make_replicates: Make replicates

View source: R/fit_bayesglm_utils.R

make_replicatesR 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


mandymejia/BayesfMRI documentation built on April 12, 2025, 3:44 p.m.