precision {BGGM} | R Documentation |
Precision Matrix Posterior Distribution
Description
Transform the sampled correlation matrices to precision matrices (i.e., inverse covariance matrices).
Usage
precision(object, progress = TRUE)
Arguments
object |
An object of class |
progress |
Logical. Should a progress bar be included (defaults to |
Value
-
precision_mean
The mean of the precision matrix (p
byp
matrix). -
precision
3d array of dimensionsp
byp
byiter
including unconstrained (i.e., from th full graph) precision matrices.
Note
The estimated precision matrix is the inverse of the correlation matrix.
Examples
# data
Y <- ptsd
# fit model
fit <- estimate(Y)
# precision matrix
Theta <- precision(fit)
[Package BGGM version 2.1.3 Index]