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

Description

Extract the covariance matrix from an appropriate EQS .out file for your usage in R.

Usage

1
eqsCov(eqs)

Arguments

eqs

A valid unedited .out file from EQS output.

Value

A covariance 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: eqsCov("for62.out")