R JavaScript HTML CSS
Latest commit 3917829 Dec 11, 2016 @mhahsler more.

README.md

arulesViz - Visualizing Association Rules and Frequent Itemsets with R

CRAN version CRAN RStudio mirror downloads Travis-CI Build Status AppVeyor Build Status

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).

install_git("mhahsler/arulesViz")

This might also require the development version of arules.

Features

  • Visualizations using base and/or grid.
  • Interactive visualizations using grid.
  • Interactive visualizations with package plotly.
  • Interactive rule inspection with package datatable.

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)

Scatter plot

Interactive visualization with plotly

plotly_arules(rules)

Interactive inspect with datatable

inspectDT(rules)

References