R: Get coda object

get_coda {bfa} | R Documentation

## Get coda object

### Description

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

### Usage

    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

[Package bfa version 0.4 Index]