Provides the generic functions and the S4 methods for the set operations
`union`

, `intersect`

, `setequal`

, `setdiff`

and
`is.element`

on sets of associations (e.g., rules, itemsets) and
itemMatrix.

1 2 3 4 5 |

`x,y, el, set` |
sets of associations or itemMatrix objects. |

All S4 methods for set operations are defined for the
class name `"ANY"`

in the signature,
so they should work for all S4 classes for which the following
methods are available: `match`

, `length`

and `unique`

.

`union`

, `intersect`

, `setequal`

and `setdiff`

return an
object of the same class as `x`

and `y`

.

`is.element`

returns a logic vector of length `el`

indicating
for each element if it is included in `set`

.

Michael Hahsler

`associations-class`

,
`itemMatrix-class`

1 2 3 4 5 6 7 8 9 10 11 12 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.