View source: R/MxUnitTesting.R
omxCheckTrue | R Documentation |
This function tests whether an object is equal to TRUE.
omxCheckTrue(a)
a |
the value to test. |
Checks element-wise whether an object is equal to TRUE. If any of the elements are false, then an error will be thrown.
The OpenMx User's guide can be found at https://openmx.ssri.psu.edu/documentation/.
omxCheckCloseEnough
, omxCheckWithinPercentError
, omxCheckIdentical
, omxCheckSetEquals
, omxCheckEquals
omxCheckTrue(1 + 1 == 2)
omxCheckTrue(matrix(TRUE, 3, 3))
# Throws an error
try(omxCheckTrue(FALSE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.