Compares an object with another
Compares an object with another and returns TRUE if they are equal.
The equal property must be
1) reflexive, i.e. equals(o1,o1) should be TRUE.
5) consistent, i.e. equals(o1,o2) should return the same
result on multiple invocations as long as nothing has changed.
## S3 method for class 'Object' equals(this, other, ...)
other |
The other object this |
... |
Not used. |
Henrik Bengtsson
o1 <- Object() o2 <- clone(o1) equals(o1, o1) # TRUE equals(o1, o2) # FALSE
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.