Copyright © 2007-2024 The OpenMx Project
Use this function if you want to find which parameters are free your model and what values are attached.
omxGetParameters(model, indep=F)
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