Examples and resources on association rule mining with R

by Yanchang Zhao, RDataMining.com

The technique of association rules is widely used for retail basket analysis, as well as in other applications to find assocations between itemsets and between sets of attribute-value pairs. It can also be used for classification by using rules with class labels on the right-hand side. It is even used for outlier detection with rules indicating infrequent/abnormal association.

Below are some free online resources on association rule mining with R and also documents on the basic theory behind the technique.

1. My R example and document on association rule mining, redundancy removal and rule interpretation
– Chapter 9 Association Rules in book “R and Data Mining: Examples and Studies”

2. Vignettes for mining and visualizing association rules
– Introduction to arules: A computational environment for mining association rules and frequent item sets
– Visualizing Association Rules: Introduction to arulesViz

3. Some R implementations of association rule algorithms:
– “Data Mining Algorithms In R: Frequent Pattern Mining” at

4. Lecture Notes (slides in PDF) on the theory of association rules

5. A book chapter on Association Rules

6. A comparison of over 20 interestingness measures for association rules:
– “Selecting the right objective measure for association analysis”

7. A collection of links to online resources on data mining (and R), not limitted to association rules:

About these ads

About Yanchang Zhao

I am a data miner, using R for data mining applications. My work on R and data mining: RDataMining.com; Twitter; Group on Linkedin; and Group on Google.
This entry was posted in Data Mining, R and tagged , . Bookmark the permalink.

3 Responses to Examples and resources on association rule mining with R

  1. Pingback: Kuka käyttää tiedonlouhintaa ja mitä työkalua? « Olipa kerran Bigdata

  2. Wendy says:

    Thank you for your examples. They are very helpful.
    For Equations 9.1, 9.3 and 9.5 of http://www.rdatamining.com/docs/RDataMining.pdf, should P(A union B) be P(A and B)?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s