Learn R Programming

bfa (version 0.4)

get_posterior_loadings: Get posterior samples of factor loadings

Description

Returns an array of posterior samples of factor loadings

Usage

get_posterior_loadings(model, scale = attr(model, "type") != "gauss")

Arguments

model
a bfa model
scale
Return factor loadings on the correlation scale? (default is TRUE for mixed/copula models, FALSE for Gaussian models)

Value

A p x k x (no. of mcmc samples) array containing samples of the p x k loadings matrix