You are here

Drop paths at zero using mxMatrix

2 posts / 0 new
Last post
tbates's picture
Joined: 07/31/2009 - 14:25
Drop paths at zero using mxMatrix
Binary Data ACE_bivariatetwin_bug.R5.28 KB

I have attached a bivariate ACE two group twin model script.

I don't seem to be getting the expected behavior when attempting to drop paths using mxMatrix

If i try and fix the cells of the 'e' matrix to zero, I get the error

 # ERROR in paste("The job for model", omxQuotes(flatModel@name), "exited abnormally with the error message:",  : 
 # cannot coerce type 'char' to vector of type 'character'
mspiegel's picture
Joined: 07/31/2009 - 15:24
As of revision 810, the error

As of revision 810, the error message generated by the model is: "The job for model 'twinAC' exited abnormally with the error message: Covariance matrix is not positive-definite". With regards to whether or not the AC model has been specified correctly, I don't know the answer to that question.