View source: R/unsupervised-market-basket.R
| visualize_rules | R Documentation |
Create visualizations of association rules
visualize_rules(rules_obj, method = "scatter", top_n = 50, ...)
rules_obj |
A tidy_apriori object, rules object, or rules tibble |
method |
Visualization method: "scatter" (default), "graph", "grouped", "paracoord" |
top_n |
Number of top rules to visualize (default: 50) |
... |
Additional arguments passed to plot() for rules visualization |
Visualization (side effect) or ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.