shiny: Explore Association Rules Interactively

Description Usage Arguments Author(s) See Also Examples

Description

Explore association rules using interactive manipulations and visualization using shiny.

Usage

1
ruleExplorer(x, parameter = NULL)

Arguments

x

a set of rules, a transactions object or a data.frame.

parameter

a list with parameters passed on to apriori. the list can be used to set the initial support and confidence thresholds. Values are ignored if x contains a set of rules.

Author(s)

Tyler Giallanza and Michael Hahsler. Adapted from functions originally created by Andrew Brooks. See https://github.com/brooksandrew/Rsenal for the original code.

See Also

plot with engine = "html", inspectDT, apriori.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
data(Groceries)

# explore pre-mined rules
rules <- apriori(Groceries, parameter=list(support=0.001, confidence=0.8))
rules

ruleExplorer(rules)

# mine and explore rules on the fly
ruleExplorer(Groceries)

## End(Not run)

mhahsler/arulesViz documentation built on Dec. 5, 2018, 6:08 p.m.