I recently downloaded the most recent version of OpenMx. Since then I am no longer able to get the model-implied covariance matrix, and therefore, the correlation residuals. Before, the following script would get me the correlation residuals:
residuals <- cov2cor(covmatrix) - cov2cor(modelfit$objective@expCov)
My data are in "covmatrix", a symmetric covariance matrix. The result of the mxRun is stored in "modelfit")
This script doesn't work anymore because modelfit$objective@expCov no longer gives me the model implied covariance matrix. What do I have to type instead?