Published on *OpenMx* (http://openmx.psyc.virginia.edu)

By *neale*

Created *08/10/2010 - 12:30*

Tue, 08/10/2010 - 12:30 — neale [1]

Example:

Running modelThreshReparam3

Error: The expected covariance matrix associated with the FIML objective in model 'modelThreshReparam3' is not of the same length as the dimnames provided by the objective function.

This should read:

Running modelThreshReparam3

Error: The expected covariance matrix associated with the FIML objective in model 'modelThreshReparam3' is not of the same length as the dimnames provided by the objective function.

The expected covariance matrix is of dimension *4x4*, but the length of the dimnames in the objective function is *3*

A similar problem occurs when the two sides of an mxConstraint '==' are not of the same dimensions. The dimensions of both sides of the mxConstraint equation should be reported.

**Links:**

[1] http://openmx.psyc.virginia.edu/users/neale

[2] http://openmx.psyc.virginia.edu/thread/619

[3] http://openmx.psyc.virginia.edu/thread/629

[4] http://openmx.psyc.virginia.edu/forums/openmx-developer-forums/r-functions-and-user-interface