View source: R/unsupervised-market-basket.R
| filter_rules_by_item | R Documentation |
Subset rules containing specific items
filter_rules_by_item(rules_obj, item, where = "both")
rules_obj |
A tidy_apriori object or tibble of rules |
item |
Character; item to filter by |
where |
Character; "lhs", "rhs", or "both" (default: "both") |
A tibble of filtered rules
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.