umx_is_MxModel | R Documentation |
Utility function returning a binary answer to the question "Is this an OpenMx model?"
umx_is_MxModel(obj, listOK = FALSE)
obj |
An object to be tested to see if it is an OpenMx |
listOK |
Is it acceptable to pass in a list of models? (Default = FALSE) |
Boolean
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_means()
,
umx_has_square_brackets()
,
umx_is_MxData()
,
umx_is_MxMatrix()
,
umx_is_RAM()
,
umx_is_cov()
m1 = mxModel("test")
if(umx_is_MxModel(m1)){
message("nice OpenMx model!")
}
if(umx_is_MxModel(list(m1,m1), listOK = TRUE)){
message("nice list of OpenMx models!")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.