arulesViz v1.3-3
Monthly downloads
Visualizing Association Rules and Frequent Itemsets
Extends package 'arules' with various visualization techniques for association rules and itemsets. The package also includes several interactive visualizations for rule exploration.
Readme
arulesViz - Visualizing Association Rules and Frequent Itemsets with R
This R package extends package arules with various visualization techniques for association rules and itemsets. The package also includes several interactive visualizations for rule exploration.
Installation
Stable CRAN version: install from within R with
install.packages("arulesViz")
Current development version: Download package from AppVeyor or install from GitHub (needs devtools).
library("devtools")
install_github("mhahsler/arulesViz")
This might also require the development version of arules.
Features
- Visualizations using
base,gridandplotly. - Interactive visualizations using
gridandplotly. - Interactive rule inspection with
datatable. - Integrated interactive rule exploration using
ruleExplorer.
Available Visualizations:
- Scatterplot, two-key plot
- Matrix and matrix 3D visualization
- Grouped matrix-based visualization
- Several graph-based visualizations
- Doubledecker and mosaic plots
- Parallel Coordinate plot
Usage
Mine some rules.
library(arulesViz)
data(Groceries)
rules <- apriori(Groceries, parameter=list(support=0.005, confidence=0.5))
Standard visualization
plot(rules)

Interactive visualization with plotly
plotly_arules(rules)
Interactive inspect with datatable
inspectDT(rules)
References
- Michael Hahsler and Sudheer Chelluboina. Visualizing Association Rules: Introduction to the R-extension Package arulesViz (with complete examples).
- Michael Hahsler. arulesViz: Interactive visualization of association rules with R. R Journal, 9(2):163-175, December 2017.
- Michael Hahsler, Sudheer Chelluboina, Kurt Hornik, and Christian Buchta. The arules R-package ecosystem: Analyzing interesting patterns from large transaction datasets. Journal of Machine Learning Research, 12:1977-1981, 2011.
Functions in arulesViz
| Name | Description | |
| plotly_arules | Interactive Scatter Plot for Association Rules using plotly | |
| ruleExplorer | Explore Association Rules Interactively | |
| plot | Visualize Association Rules and Itemsets | |
| inspectDT | Inspect Associations Interactively Using datatable | |
| saveAsGraph | Save rules or itemsets as a graph description | |
| No Results! | ||
Vignettes of arulesViz
| Name | ||
| arules.bib | ||
| arulesViz.Rnw | ||
| arulesViz.bib | ||
| gephi_1.pdf | ||
| scatterplot_interactive.png | ||
| No Results! | ||
Last month downloads
Details
| Date | 2019-05-20 |
| License | GPL-3 |
| URL | https://github.com/mhahsler/arulesViz |
| BugReports | https://github.com/mhahsler/arulesViz/issues |
| Copyright | (C) 2018 Michael Hahsler, Tyler Giallanza and Sudheer Chelluboina |
| NeedsCompilation | no |
| Packaged | 2019-05-20 07:07:30 UTC; hahsler |
| Repository | CRAN |
| Date/Publication | 2019-05-20 17:20:08 UTC |
| depends | arules (>= 1.4.1) , grid |
| imports | colorspace , DT , graphics , grDevices , igraph (>= 1.0.0) , methods , plotly , scatterplot3d , seriation , stats , utils , vcd , visNetwork |
| suggests | graph , htmlwidgets , iplots , Rgraphviz , shiny , shinythemes |
| Contributors | Sudheer Chelluboina, Giallanza Tyler |
Include our badge in your README
[](http://www.rdocumentation.org/packages/arulesViz)