You are here

omxGetParameters

Primary tabs

Wiki home page

Usage

omxGetParameters(model, indep=F)
Use this function if you want to find which parameters are free your model and what values are attached.

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 <NA> 
#   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   

See also

omxSetParameters, omxAssignFirstParameters

Please add material here as you learn... If you have questions not answers, then add those here: That's how a wiki works.