apriori

Generating 2-itemset rules with Arules in R

Generating 2-itemset rules with Arules in R Question: I’m using Arules library in R to generate rules: rules = apriori(data = dataset, parameter = list(support = 0.001, confidence = 0.6, minlen=2)) I understand the minlen=2 avoids rules of the form {} => {beer}. In arules, is it possible to restrict rules such that LHS and …

Total answers: 2