powered by
Utility function returning a binary answer to the question "Is this an OpenMx model?"
umx_is_MxModel(obj, listOK = FALSE)
An object to be tested to see if it is an OpenMx mxModel()
mxModel()
Is it acceptable to pass in a list of models? (Default = FALSE)
Boolean
https://github.com/tbates/umx
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()
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()
# NOT RUN { 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!") } # }
Run the code above in your browser using DataLab