powered by
This function remove every redundant rules, keeping only the most general ones.
general.rules(r)
A set of rules.
A set of rules, without redundancy.
apriori
# NOT RUN { require ("arules") data ("Adult") r = apriori (Adult) inspect (general.rules (r)) # }
Run the code above in your browser using DataLab