You are here

Revision of omxGetParameters from Thu, 07/08/2010 - 13:16

Revisions allow you to track differences between multiple versions of your content, and revert back to older versions.

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', 2, 2, labels = c("A11", "A12", "A21", NA), values= 1:4, free = c(T,T,F,T), byrow=T, name = 'A')
model <- mxModel(A, name = 'model')
omxGetParameters(model)

# A11  A12  
#   1    2    4 

A@labels
#      [,1]  [,2] 
# [1,] "A11" "A12"
# [2,] "A21" NA   

A@free
#       [,1] [,2]
# [1,]  TRUE TRUE
# [2,] FALSE TRUE

A@labels
#      [,1]  [,2] 
# [1,] "A11" "A12"
# [2,] "A21" NA   

omxSetParameters, omxAssignFirstParameters