| plot.apriori | R Documentation |
Plot the association rules obtained by APRIORI, using arulesViz.
## S3 method for class 'apriori'
plot(
x,
method = "scatterplot",
measure = c("support", "confidence"),
shading = "lift",
...
)
x |
The classification model (object of class |
method |
The type of plot (see |
measure, shading |
Parameters passed to |
... |
Other parameters passed to |
APRIORI, apriori-class, plot
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.