View source: R/build_run_modify.R
umxFixAll | R Documentation |
Fix all free parameters in a model using omxGetParameters()
umxFixAll(model, name = "_fixed", run = FALSE, verbose = FALSE)
model |
an |
name |
optional new name for the model. if you begin with a _ it will be made a suffix |
run |
whether to fix and re-run the model, or just return it (defaults to FALSE) |
verbose |
whether to mention how many paths were fixed (default is FALSE) |
the fixed OpenMx::mxModel()
Other Advanced Model Building Functions:
umx
,
umxAlgebra()
,
umxJiggle()
,
umxRun()
,
umxThresholdMatrix()
,
umxUnexplainedCausalNexus()
,
xmuLabel()
,
xmuValues()
## Not run:
require(umx)
data(demoOneFactor)
manifests = names(demoOneFactor)
m1 = umxRAM("OneFactor", data = demoOneFactor, type = "cov",
umxPath("G", to = manifests),
umxPath(var = manifests),
umxPath(var = "G", fixedAt = 1)
)
m2 = umxFixAll(m1, run = TRUE, verbose = TRUE)
mxCompare(m1, m2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.