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.


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.

  • Stable CRAN version: install from within R.
  • Current development version: Download package from AppVeyor or install via install_git("mhahsler/arulesViz") (requires devtools). You might also have to install the development version of arules.
  • Scatterplot, two-key plot
  • Matrix and matrix 3D visualization
  • Grouped matrix-based visualization
  • Several graph-based visualizations
  • Doubledecker and mosaic plots
  • Parallel Coodfinate plot

Several visualizations are also available in interactive exploration mode.

R> library(arulesViz)
R> data(Groceries)
R> rules <- apriori(Groceries, parameter=list(support=0.005, confidence=0.5))
R> plot(rules)

Maintainer: Michael Hahsler

News

Changes in version 1.2-0 (10/02/2016)

  • improved graphical parameters for the grouped matrix plot.
  • default color scheme is now a grey-red ramp.
  • added inspectDT for interactive rules inspection using package DT.
  • added plotyl_arules, interactive plots with plotly.

Changes in version 1.1-1 (04/10/2016)

  • plot method ordered now passes control arguments on correctly.

Changes in version 1.1-0 (12/13/2015)

  • abbreviate has been moved to arules.
  • fixed bug in grouped plots when the quality of many rules is identical.
  • plots use now heat colors.
  • scatterplots use now for lift zlim starting at 1.

Changes in version 1.0-4 (09/15/2015)

  • fixed empty LHS problem in grouped plot (reported by Andrew Collier)
  • Updated for arules version 1.2.0

Changes in version 1.0-2 (6/29/2015)

  • fixed imports from non-base standard packages.
  • plot (graph) now honors font family set via par(). (Bug reported by May Yang)
  • igraph: Updated NAMESPACE since igraph introduced functions with names that clash with arules and seriation. Transitioned to igraphs new layout me# Chanism.
  • itemsets: scatterplot is now also defaut for itemsets.

Changes in version 1.0-0 (12/07/2014)

  • Improved LHS annotation for grouped plot

Changes in version 0.1-9 (3/10/2014)

  • Cleaned up dependencies on Rgraphviz

Changes in version 0.1-8 (2/18/2014)

  • Cleaned up dependencies (moved most to imports)

Changes in version 0.1-7 (8/11/2013)

  • plot checks now if 0 rules/itemsets are used
  • scatterplots with a single rule now display correctly
  • transition from igraph0 to igraph

Changes in version 0.1-6 (5/25/2013)

  • plot method matrix does not accept custom colors

Changes in version 0.1-5 (3/02/2012)

  • fixed namespace (imports seriation now)

Changes in version 0.1-4 (11/7/2011)

  • fixed font family for igraph under windows (is now Arial).

Initial version 0.1-0 (12/17/2010)

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("arulesViz")

1.3-0 by Michael Hahsler, 2 months ago


http://lyle.smu.edu/IDA/arules/


Report a bug at https://github.com/mhahsler/arulesViz


Browse source code at https://github.com/cran/arulesViz


Authors: Michael Hahsler [aut, cre, cph], Sudheer Chelluboina [ctb]


Documentation:   PDF Manual  


GPL-3 license


Imports scatterplot3d, vcd, seriation, igraph, graphics, methods, utils, grDevices, stats, colorspace, DT, plotly, visNetwork

Depends on arules, grid

Suggests graph, Rgraphviz, iplots


Imported by TELP.

Suggested by arules, rattle.


See at CRAN