Translate Covariance Matrix in EQS Output to a Correlation Matrix in R

Description

The EQS .out file contains all the necessary information to return a correlation matrix. This function allows you to extract the necessary info and save the correlation matrix for your own use in R.

Usage

1
eqsCorr(eqs)

Arguments

eqs

A valid unedited .out file from EQS output.

Value

A correlation matrix.

Note

This function will still be usable for more complex SEM models that end up not being translatable by eqs2lavaan.

Author(s)

Craig M. Krebsbach craigmk@my.uri.edu

References

Bentler, P. M. (2008). EQS Program Manual. Encino, CA: Multivariate Software Inc.

Yves Rosseel (2012). lavaan: An R Package for Structural Equation Modeling. Journal of Statistical Software, 48(2), 1-36. URL http://www.jstatsoft.org/v48/i02/.

See Also

plotCov eqsCorr eqsDesc eqs2lavaan

Examples

1
2
3
4
# EQS required to get a necessary .out file
# Run for62.eqs from the EQS examples and save .out to R directory location

## Not run: eqsCorr("for62.out")