precision: Precision Matrix Posterior Distribution

Description Usage Arguments Value Note Examples

View source: R/precision.R

Description

Transform the sampled correlation matrices to precision matrices (i.e., inverse covariance matrices).

Usage

1
precision(object, progress = TRUE)

Arguments

object

An object of class estimate.

progress

Logical. Should a progress bar be included (defaults to TRUE) ?

Value

Note

The estimated precision matrix is the inverse of the correlation matrix.

Examples

1
2
3
4
5
6
7
8
# data
Y <- ptsd

# fit model
fit <- estimate(Y)

# precision matrix
Theta <- precision(fit)

BGGM documentation built on Aug. 20, 2021, 5:08 p.m.