Learn R Programming

arules (version 0.1-3)

itemsets-class: Class ``itemsets'' --- A Set of Itemsets

Description

The itemsets class represents a set of itemsets and the associated quality measures.

Arguments

Objects from the Class

Objects are the result of calling the functions apriori (e.g., with target="frequent itemsets" in the parameter list) or eclat. Objects can also be created by calls of the form new("itemsets", ...).

Extends

Class associations, directly.

See Also

eclat, apriori, associations-class, tidList-class

Examples

Run this code
data("Adult_transactions")

## Mine frequent itemsets with Eclat.
fsets <- eclat(Adult_transactions, parameter = list(supp = 0.5))

## Display the 5 itemsets with the highest support.
inspect(SORT(fsets)[1:5])

Run the code above in your browser using DataLab