
Show interactive application to explore association rules
Source:R/explore-associations.R
explore.associations.Rd
Launches an interactive Shiny application for visual exploration of mined association rules. The explorer provides tools for inspecting rule quality, comparing interestingness measures, and interactively filtering subsets of rules. When the original dataset is supplied, the application also allows for contextual exploration of rules with respect to the underlying data.
Usage
# S3 method for class 'associations'
explore(x, data = NULL, ...)
Arguments
- x
An object of S3 class
associations
, typically created withdig_associations()
.- data
An optional data frame containing the dataset from which the rules were mined. Providing this enables additional contextual features in the explorer, such as examining supporting records.
- ...
Currently ignored.
Value
An object of class shiny.appobj
representing the Shiny application.
When "printed" in an interactive R session, the application is launched
immediately in the default web browser.
Examples
if (FALSE) { # \dontrun{
data("iris")
# convert all columns into dummy logical variables
part <- partition(iris, .breaks = 3)
# find association rules
rules <- dig_associations(part)
# launch the interactive explorer
explore(rules, data = part)
} # }