powered by
lisrel
This function can be used to extract matrices from the output of readLisrel.
readLisrel
lisrelMatrix(object, matrix, group = 1, type = "est")
A matrix.
A "lisrel" object obtained by readLisrel.
"lisrel"
Specification of the matrix to be extracted. See details.
An integer specifying which group the matrix should be extracted from.
Specification of the type of matrix to be extracted.
Sacha Epskamp <mail@sachaepskamp.com>
LisrelToR uses the following names for the model matrices:
LisrelToR
Lambda-Y matrix.
Psi matrix.
Beta matrix.
Theta-Epsilon matrix.
Tau-Y matrix.
Alpha matrix.
Lambda-X matrix.
Phi matrix.
Gamma matrix.
Theta-Delta matrix.
Tau-X matrix.
Kappa
The observed covariance matrix, or a list of such matrices for each group.
The implied covariance matrix, or a list of such matrices for each group.
Furthermore, lisrelToR uses the following names for matrix types:
lisrelToR
Parameter estimates
Standard errors
t-values
Parameter numbers
Joreskog, K. G., & Sorbom, D. (1996). LISREL 8 user's reference guide. Scientific Software.
## Measurment invariance example: modFile <- system.file("extdata", "mi1.OUT", package = "lisrelToR") Lis <- readLisrel(modFile) # Extract Lambda-Y for group 2: lisrelMatrix(Lis,"LY", group = 2)
Run the code above in your browser using DataLab