View source: R/path_to_network.R
path_to_network | R Documentation |
Takes a path model and generates the corresponding (standardized) precision matrix or
covariance matrix. The inverse of network_to_path
.
path_to_network(B, psi = NULL, output = "precision")
B |
input p \times p weights matrix |
psi |
variance-covariance matrix for the residuals. If NULL (the default) will impose the constraint that the variables have variance 1 and the residuals are uncorrelated |
output |
Function returns the precision ("precision") or covariance ("covariance") matrix |
a p \times p precision or covariance matrix
ryan2019SEset
\insertRefshojaie2010penalizedSEset
\insertRefbollen89semSEset
network_to_path
, SEset_to_network
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.