Description Usage Arguments Value Author(s)
Produces a symmetric matrix (e.g., a covariance matrix) from a file that contains the triangle of the matrix and the main diagonal. Structural equation modeling (SEM) programs often report model-implied covariance matrices by reporting the lower triangle (containing covariances) and the diagonal (containing variances).
1 | ReadSymMatrixFromTriangle(file, n.vars)
|
file |
Path to data file containing the triangle and main diagonal of the matrix |
n.vars |
The number of number of rows and columns in the matrix (i.e., the number of variables) |
A symmetric matrix with n.vars rows and n.vars columns
Roy Levy Roy.Levy@asu.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.