umxModelNames | R Documentation |
umxModelNames
returns the names of each model contained in the model provided to it
(optionally excluding the out model itself).
umxModelNames(model, includeOuterModelName = FALSE)
model |
an |
includeOuterModelName |
FALSE |
All models names
mxRename()
, umxSuperModel()
Other Miscellaneous Utility Functions:
install.OpenMx()
,
libs()
,
qm()
,
umxLav2RAM()
,
umxRAM2Lav()
,
umxVersion()
,
umx_array_shift()
,
umx_find_object()
,
umx_lower.tri()
,
umx_msg()
,
umx_open_CRAN_page()
,
umx_pad()
,
umx_print()
,
umx
## Not run:
data(GFF)
mzData = subset(GFF, zyg_2grp == "MZ")
dzData = subset(GFF, zyg_2grp == "DZ")
selDVs = c("gff", "fc", "qol")
m1 = umxCP(selDVs= selDVs, nFac= 1, dzData= dzData, mzData= mzData, sep= "_T", autoRun= TRUE)
m2 = mxRename(m1, "model2")
umxModelNames(m1) # "top" "MZ" "DZ"
umxModelNames(m2) # "top" "MZ" "DZ"
super = umxSuperModel("myModel", m1, m2, autoRun = TRUE)
umxModelNames(super)
plot(super$CP1fac)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.