| precision | R Documentation |
Transform the sampled correlation matrices to precision matrices (i.e., inverse covariance matrices).
precision(object, progress = TRUE)
object |
An object of class |
progress |
Logical. Should a progress bar be included (defaults to |
precision_mean The mean of the precision matrix (p by p matrix).
precision 3d array of dimensions p by p by iter
including unconstrained (i.e., from th full graph)
precision matrices.
The estimated precision matrix is the inverse of the correlation matrix.
# data
Y <- ptsd
# fit model
fit <- estimate(Y)
# precision matrix
Theta <- precision(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.