View source: R/unsupervised-market-basket.R
| find_related_items | R Documentation |
Find items frequently purchased with a given item
find_related_items(rules_obj, item, min_lift = 1.5, top_n = 10)
rules_obj |
A tidy_apriori object |
item |
Character; item to find associations for |
min_lift |
Minimum lift threshold (default: 1.5) |
top_n |
Number of top associations to return (default: 10) |
A tibble of related items with association metrics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.