| associations-class {arules} | R Documentation |
The associations class is a virtual class which is extended to
represent mining result (e.g., sets of itemsets or rules). The class
provides accessors for the quality slot and a method for sorting the
associations.
A virtual class: No objects may be created from it.
quality:signature(x = "associations");
dummy method. This method has to be implemented by all subclasses
of associations and return the items which make up each
association as an object of class
itemMatrix.signature(object = "associations");
dummy method. This method has to be implemented by all subclasses
of associations and return a vector
of length(object) of labels
for the elements in the association.signature(x = "associations");
dummy method. This method has to be implemented by all subclasses
of associations and return the number of elements in the
association.signature(x = "associations");
replaces the quality data.frame. The lengths of the vectors
in the data.frame have to equal the number of associations
in the set.signature(x = "associations");
returns the quality data.frame.signature(object = "associations")
SORT,
WRITE,
length,
is.subset,
is.superset,
sets,
unique,
itemMatrix-class