Learn R Programming

arules (version 1.0-12)

is.maximal: Find Maximal Itemsets

Description

Provides the generic function and the S4 method is.maximal for finding maximal itemsets. An itemset is maximal in a set if no proper superset of the itemset is contained in the set (Zaki et al., 1997).

Usage

is.maximal(x,...)## S3 method for class 'itemMatrix':
is.maximal(x)

Arguments

x
the set of itemsets or an itemMatrix object.
...
further arguments.

Value

  • a logical vector with the same length as x indicating for each element in x if it is a maximal itemset.

References

Mohammed J. Zaki, Srinivasan Parthasarathy, Mitsunori Ogihara, and Wei Li (1997). New algorithms for fast discovery of association rules. Technical Report 651, Computer Science Department, University of Rochester, Rochester, NY 14627.

See Also

is.superset, itemMatrix-class, itemsets-class