View source: R/association_rules.R
| plot.net_association_rules | R Documentation |
Scatter plot of association rules: support vs confidence, with point size proportional to lift.
## S3 method for class 'net_association_rules'
plot(x, ...)
x |
A |
... |
Additional arguments passed to |
A ggplot object, invisibly.
trans <- list(c("A","B","C"), c("A","B"), c("B","C","D"),
c("A","C","D"), c("A","B","D"), c("B","C"))
rules <- association_rules(trans, min_support = 0.3, min_confidence = 0.3,
min_lift = 0)
plot(rules)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.