plot.apriori: Plot function for apriori-class

plot.aprioriR Documentation

Plot function for apriori-class

Description

Plot the association rules obtained by APRIORI, using arulesViz.

Usage

## S3 method for class 'apriori'
plot(
  x,
  method = "scatterplot",
  measure = c("support", "confidence"),
  shading = "lift",
  ...
)

Arguments

x

The classification model (object of class apriori-class, created by APRIORI).

method

The type of plot (see plot, e.g. "scatterplot", "graph", "grouped", "paracoord").

measure, shading

Parameters passed to plot.

...

Other parameters passed to plot.

See Also

APRIORI, apriori-class, plot

Examples

## Not run: 
require (datasets)
data (iris)
d = discretizeDF (iris,
    default = list (method = "interval", breaks = 3, labels = c ("small", "medium", "large")))
model = APRIORI (d [, -5], d [, 5], supp = .1, conf = .9, prune = TRUE)
plot (model)
plot (model, method = "graph")

## End(Not run)

fdm2id documentation built on Aug. 28, 2026, 9:07 a.m.