Description Usage Arguments Examples
The aruleRec function generates recommendations from an input dataframe.
1 2 3 |
data |
A dataframe containing dataframe as input in tidy format with one customer-item pair per row. This data.frame must contain two columns: a customer ID and a product ID. |
productkey |
The column containing item ID's |
customerkey |
The column containing customer ID's |
support |
Minimum support of the mined association rules |
confidence |
Minimum confidence of the mined association rules |
minlen |
Minimum length of the mined association rules |
maxlen |
Maximum length of the mined association rules |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.