Skip to contents

The tutorial extracts study-specific loadings via getLambda(fit) from the Tetris script and builds marginal covariances as Lambda Lambda^T + Psi.

Usage

postprocess_tetris(fit, num_samps = NULL)

Arguments

fit

A bifa_fit from fit_tetris() or a raw Tetris fit.

num_samps

Number of posterior samples to use. If NULL, uses min(2000, available).

Value

A list with Phi, SigmaPhi, LambdaList, SigmaLambdaList, PsiList, SigmaMarginal.