get_coda: Get coda object

Description Usage Arguments Value

Description

Returns an mcmc object for use in coda functions for convergence diagnostics, HPD intervals, etc.

Usage

1
2
get_coda(model, loadings = TRUE, scores = FALSE, scale = attr(model,
  "type") != "gauss", positive = FALSE)

Arguments

model

a bfa model

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

Value

An mcmc object



Search within the bfa package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.