You are here

omx[Get/Set]Parameters with anonymous free parameters

3 posts / 0 new
Last post
mspiegel's picture
Offline
Joined: 07/31/2009 - 15:24
omx[Get/Set]Parameters with anonymous free parameters

Since we were cleaning up the saving and loading of models (see http://openmx.psyc.virginia.edu/thread/1385), on a related matter I decided to support anonymous free parameters in the utility functions omxGetParameters() and omxSetParameters(). Anonymous free parameters (free parameters that have a label of 'NA') are now identified by the string "modelname.matrixname[row,col]". This notation will be available as input to the function omxSetParameters(), which currently rejects anonymous free parameters. The following demo will work in OpenMx 1.3.

require(OpenMx)

data(demoOneFactor)
manifestVars 

(If the example used symmetric matrices, both the cell and the transpose of the cell would have been populated)

tbates's picture
Offline
Joined: 07/31/2009 - 14:25
Very useful upgrade!

That will be handy Michael: thanks!

tbates's picture
Offline
Joined: 07/31/2009 - 14:25
Is there a timeline for this in 1.3 or latest

User requesting this functionality (which worked for me on SVN version), but they can't then run my script.

Even on: install.packages('OpenMx', repos='http://openmx.psyc.virginia.edu/testing/');

t

Log in or register to post comments