Description Usage Arguments Value Author(s) See Also Examples
This function is just a wrapper for the identical()
function to
determine whether two objects are identical. Its usefulness
is in being able to be combined with other functions in the
compare package that
perform much more relaxed comparisons.
1 | compareIdentical(model, comparison, transform = character(), ...)
|
model |
The “correct” object. |
comparison |
The object to be compared with the |
transform |
A character vector containing any transformations that have been performed on the objects prior to this comparison. |
... |
Allows arguments that are only relevant to other comparison functions. |
An object of class "comparison"
.
Use isTRUE()
to determine whether the
comparison has succeeded.
Paul Murrell
compare
and
compareEqual
1 2 | compareIdentical(1:10/10, 1:10/10)
compareIdentical(1:10/10, 3:12/10 - 2/10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.