get_coda {bfa} | R Documentation |
Returns an mcmc
object for use in coda
functions for
convergence diagnostics, HPD intervals, etc.
get_coda(model, loadings = TRUE, scores = FALSE, scale = attr(model, "type") != "gauss", positive = FALSE)
model |
a |
loadings |
Return samples of the factor loadings? (default is TRUE) |
scores |
Return samples of the factor scores? (default is FALSE) |
scale |
Return factor loadings on the correlation scale? (default is TRUE for mixed/copula models, FALSE for Gaussian models) |
positive |
Post-process to enforce positivity constraints |
An mcmc
object