umx_has_been_run {umx} | R Documentation |
umx_has_been_run
Description
check if an mxModel has been run or not
Usage
umx_has_been_run(model, stop = FALSE)
Arguments
model |
The |
stop |
Whether to stop if the model has not been run (defaults to FALSE) |
Value
boolean
References
See Also
Other Test:
umx_check_OS()
,
umx_check_model()
,
umx_check_names()
,
umx_check_parallel()
,
umx_check()
,
umx_has_CIs()
,
umx_has_means()
,
umx_has_square_brackets()
,
umx_is_MxData()
,
umx_is_MxMatrix()
,
umx_is_MxModel()
,
umx_is_RAM()
,
umx_is_cov()
Examples
## Not run:
require(umx)
data(demoOneFactor)
manifests = names(demoOneFactor)
m1 = umxRAM("has_been_run_example", data = demoOneFactor, type = "cov",
umxPath("G", to = manifests),
umxPath(var = manifests),
umxPath(var = "G", fixedAt = 1)
)
umx_has_been_run(m1)
## End(Not run)
[Package umx version 4.20.0 Index]