Last chance! 50% off unlimited learning
Sale ends in
Drops each free parameter (selected via regex), returning an mxCompare
table comparing the effects. A great way to quickly determine which of several
parameters can be dropped without excessive cost
umxDrop1(model, regex = NULL, maxP = 1)
An mxModel
to drop parameters from
A string to select parameters to drop. leave empty to try all. This is regular expression enabled. i.e., "^a_" will drop parameters beginning with "a_"
The threshold for returning values (defaults to p==1 - all values)
a table of model comparisons
Other Modify or Compare Models: umxAdd1
,
umxEquate
, umxFixAll
,
umxMI
, umxSetParameters
,
umxUnexplainedCausalNexus
,
umx
# NOT RUN {
umxDrop1(fit3) # try dropping each free parameters (default)
# drop "a_r1c1" and "a_r1c2" and see which matters more.
umxDrop1(model, regex="a_r1c1|a_r1c2")
# }
Run the code above in your browser using DataLab