arulesViz - Visualizing Association Rules and Frequent Itemsets with R

CRAN version Rdoc CRAN RStudio mirror downloads R 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: install from GitHub (needs devtools) with

devtools::install_github("mhahsler/arulesViz")

This might also require the development version of arules.

Features

Available Visualizations:

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

plot(rules, engine = "plotly")

Open example output.

Interactive inspect with datatable

inspectDT(rules)

Open example output.

References