rule_flow: The main rule flow function

Description Usage Arguments Examples

View source: R/rule_flow.R

Description

This function mines the association rules and preprocesses data by calling other functions in the library.

Usage

1
2
rule_flow(data, customerkey, productkey, support, confidence, minlen,
  maxlen)

Arguments

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

Examples

1
rule_flow(data, customerkey, productkey, support, confidence, minlen, maxlen)

HenrikVarmer/aruleRec documentation built on Sept. 8, 2020, 10:39 a.m.