Description Usage Arguments Examples
This function mines the association rules and preprocesses data by calling other functions in the library.
1 2 |
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. |
customerkey |
The column containing customer ID's |
productkey |
The column containing item 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.