View source: R/MxUnitTesting.R
omxCheckIdentical | R Documentation |
This function tests whether two objects are equal.
omxCheckIdentical(...)
... |
arguments forwarded to expect_identical |
Performs the ‘identical’ comparison on the two arguments. If the two arguments are not equal, then an error will be thrown.
The OpenMx User's guide can be found at https://openmx.ssri.psu.edu/documentation/.
omxCheckCloseEnough
, omxCheckWithinPercentError
, omxCheckSetEquals
, omxCheckTrue
, omxCheckEquals
omxCheckIdentical(c(1, 2, 3), c(1, 2, 3))
omxCheckIdentical(FALSE, FALSE)
# Throws an error
try(omxCheckIdentical(c(1, 2, 3), c(2, 1, 3)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.