cov2beta | R Documentation |
Compute all direct regression coefficients (direct effects), B
from a covariance matrix starting from the first variable to the last (order matter).
cov2beta(S)
S |
A covariance matrix. |
A lower triangular matrix containing all direct effects (regression coefficients)
S <- matrix(c( 1, .2, .4,
.2, 1, .3,
.4, .5, 1), ncol = 3, nrow = 3)
cov2beta(S)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.