umx_has_means | R Documentation |
A utility function to return a binary answer to the question "does this mxModel()
have a means model?"
umx_has_means(model)
model |
The |
TRUE or FALSE
Other Test:
umx_check_OS()
,
umx_check_model()
,
umx_check_names()
,
umx_check_parallel()
,
umx_check()
,
umx_has_CIs()
,
umx_has_been_run()
,
umx_has_square_brackets()
,
umx_is_MxData()
,
umx_is_MxMatrix()
,
umx_is_MxModel()
,
umx_is_RAM()
,
umx_is_cov()
## Not run:
require(umx)
data(demoOneFactor)
manifests = names(demoOneFactor)
m1 = umxRAM("has_means_ex", data = demoOneFactor, type = "cov",
umxPath("G", to = manifests),
umxPath(var = manifests),
umxPath(var = "G", fixedAt = 1)
)
umx_has_means(m1)
m1 = mxModel(m1,
mxPath(from = "one", to = manifests),
mxData(demoOneFactor[1:100,], type = "raw")
)
umx_has_means(m1)
m1 = mxRun(m1)
umx_has_means(m1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.