get_coda: Get coda object

Description Usage Arguments Value

View source: R/get_coda.R

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


bfa documentation built on May 29, 2017, 1:38 p.m.

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