Returns TRUE wherever elements are the same (including NA), and FALSE everywhere else.

compare(lhs, rhs)

Arguments

lhs

LHS of operation.

rhs

RHS of operation.

Value

A Boolean value.