readLisrel | R Documentation |
This function scans LISREL (Joreskog & Sorbom, 1996) output for model matrices and fit indices.
readLisrel(x)
x |
String indicating the location of a LISREL output file. |
LisrelToR
uses the following names for the model matrices:
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:
Parameter estimates
Standard errors
t-values
Parameter numbers
A list of class "lisrel"
contaning:
fitIndices |
Fit indices, currently not supported. |
matrices |
A list contaning the model matrices. For each group this list conains a list with for each matrix (using LISREL style naming, see details) a list contaning elements |
variables |
Currently not used. |
Covariances |
A list with elements |
Sacha Epskamp <mail@sachaepskamp.com>
Joreskog, K. G., & Sorbom, D. (1996). LISREL 8 user's reference guide. Scientific Software.
lisrelMatrix
## 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)
# Structure of object:
str(Lis)
# Print full LISREL output to console:
print(Lis)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.