Attachment | Size |
---|---|
Lebo1.R | 1.69 KB |
lebo1Datacov.csv | 1.24 KB |
Hello ~
I am getting an error that others have posted when using mxMatrix specification. Since a mxObjective statement is not required with mxPath specification (type="RAM"), I am unsure how to solve the problem. I have attached the script and data that are associated with the error. When I check rownames(), colnames(), and manifestVars names in R, I get the same list for each case.
Any thoughts?
Sincerely,
~ Angela
Very interesting bug. At some point when processing a MxModel, we added a step that converts all the columns of a data.frame into numeric columns. At is happens, that step drops the rownames of a data.frame. Usually, that isn't a problem. But if your covariance matrix is a data.frame object, then it is problem. I'm going to check in a patch that preserves the rownames of a data.frame. In the meantime, use the following to read your data: