Learn R Programming

arules (version 1.0-12)

APappearance-class: Class ``APappearance'' --- Specifying the `appearance' Argument of apriori()

Description

Specifies the restrictions on the associations mined by apriori. Note that appearance is not supported by the implementation of eclat.

Arguments

References

Christian Borgelt (2004) Apriori --- Finding Association Rules/Hyperedges with the Apriori Algorithm. http://fuzzy.cs.uni-magdeburg.de/~borgelt/apriori.html

See Also

apriori

Examples

Run this code
data("Adult")
## Mine only rules with small or large income in the right-hand-side.
rules <- apriori(Adult, parameter = list(confidence = 0.5), 
  appearance = list(rhs = c("income=small", "income=large"),
  default="lhs"))

Run the code above in your browser using DataLab