powered by
Check that a test evaluates to TRUE. If not, stop, warn, or message the user
umx_check(boolean.test, action = c("stop", "warning", "message"), message = "check failed")
test evaluating to TRUE or FALSE
One of "stop" (the default), "warning", or "message"
what to tell the user when boolean.test is FALSE
- boolean
- http://www.github.com/tbates/umx
Other Test: umx_check_OS, umx_check_model, umx_check_names, umx_check_parallel, umx_has_CIs, umx_has_been_run, umx_has_means, umx_has_square_brackets, umx_is_MxData, umx_is_MxMatrix, umx_is_MxModel, umx_is_RAM, umx_is_cov, umx_is_endogenous, umx_is_exogenous, umx_is_ordered
umx_check_OS
umx_check_model
umx_check_names
umx_check_parallel
umx_has_CIs
umx_has_been_run
umx_has_means
umx_has_square_brackets
umx_is_MxData
umx_is_MxMatrix
umx_is_MxModel
umx_is_RAM
umx_is_cov
umx_is_endogenous
umx_is_exogenous
umx_is_ordered
# NOT RUN { umx_check(length(1:3)==3, "stop", "item must have length == 3") # }
Run the code above in your browser using DataLab