This function tests whether two vectors contain the same elements.
Usage
omxCheckSetEquals(a, b)
Arguments
a
the first vector to compare.
b
the second vector to compare.
Details
Performs the ‘setequal’ function on the two arguments. If the two arguments do not contain the same elements, then an error will be thrown. If ‘a’ and ‘b’ contain the same elements, by default the function will print a statement informing the user the test has passed. To turn off these print statements use options("mxPrintUnitTests" = FALSE).
References
The OpenMx User's guide can be found at http://openmx.ssri.psu.edu/documentation.