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

By *mspiegel*

Created *10/02/2009 - 18:13*

Fri, 10/02/2009 - 18:13 — mspiegel [1]

We added an optional 'dimnames' argument to the functions mxFIMLObjective() and mxMLObjective(). The argument expects a vector of character, such as c('foo', 'bar', 'baz'). The objective function uses this vector to populate the column names of the means vector, and the row and column names of the covariance matrix. With the 'dimnames' argument it is no longer necessary to explicitly specify the dimnames of the means and covariances, although it is still possible. If dimnames are specified for the means or covariances matrices, and the 'dimnames' argument is used by the objective function, and the dimnames values are not identical, then an error is thrown.

The demos and Sphinx documentation has been updated as well.

**Links:**

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

[2] http://openmx.psyc.virginia.edu/thread/55-using-mxmatrix

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

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