Equality and inequality comparisons of two operands.

DETAILS:

Compare is a group generic function, including a subset of functions included under the Ops group generic function. The current list of functions in this group may be found by doing getGroupMembers("Compare"). Additional information may be available for specific methods, via methods?Compare .

SEE ALSO:

for details on the default methods for these operators, , , , , , , , and individual functions listed below.

EXAMPLES:

# The Ops group of generic functions includes: 
#   Arithmetic:  +, -, *, /, ^, %/%, %% 
#   Comparison:  >, <, >=, <=, ==, !=, compare 
#   Logical:     !, &, | 
# See also .Uminus and xor