Examples and resources on association rule mining with R

July 13, 2012

(This article was first published on RDataMining, and kindly contributed to R-bloggers)

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:

To leave a comment for the author, please follow the link and comment on their blog: RDataMining.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Tags: ,

Comments are closed.

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)