Binary operators for Set
objects.
# S3 method for Set
+(s1, s2)# S3 method for Set
/(s1, s2)
# S3 method for Set
-(s1, s2)
# S3 method for Set
==(s1, s2)
# S3 method for Set
<(s1, s2)
# S3 method for Set
>(s1, s2)
Set
object
Set
object
union of both sets
intersection of both sets
set-difference of both sets
TRUE
if both sets are equal, else FALSE
TRUE
if s1 is subset of s2, else FALSE
TRUE
if s1 is superset of s2, else FALSE