Description Usage Arguments Examples
This function mnes association rules from an input data.frame but does nothing more
1 2 3  | aruleTrain(data, productkey, customerkey, support = 0.01,
  confidence = 0.7, minlen = 2,
  maxlen = as.integer(length(unique(data$productkey)) + 1))
 | 
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  | aruleTrain(data, productkey, customerkey, cupport, confidence, minlen, maxlen)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.