Revision of omxGetParameters from Thu, 07/08/2010 - 10:48

The revisions let you track differences between multiple versions of a post.

Use this function if you want to find which parameters are free your model and what values are attached.

Called like this:

omxGetParameters(model, indep=F)

Example

A <- mxMatrix('Full', 3, 3, labels = c('a','b', NA), values=1:9, free = TRUE, name = 'A');
model <- mxModel(A, name = 'model')
omxGetParameters(model)
 
 a    b <NA> <NA> <NA> 
   1   2    3    6    9 
 
> A
@labels
     [,1] [,2] [,3]
[1,] "a"  "b"  NA  
[2,] "a"  "b"  NA  
[3,] "a"  "b"  NA  
 
@values
     [,1] [,2] [,3]
[1,]    1    2    3
[2,]    4    5    6
[3,]    7    8    9

omxSetParameters, omxAssignFirstParameters