Skip to contents

Performs all the expensive computations that don't depend on the response vector y, so they can be reused across multiple voxels.

Usage

mixed_precompute_workspace(X, Z, K)

Arguments

X

Fixed effects design matrix (n × p)

Z

Random effects design matrix (n × q)

K

Kinship/covariance matrix for random effects (q × q)

Value

MixedWorkspace object containing precomputed matrices