[R] Sorting Association Rules on 2 criteria

markwebb at afrihost.co.za markwebb at afrihost.co.za
Wed Jun 9 12:49:19 CEST 2010


I'm using library(arules)
Once rules have been created one can inspect & sort them.
Here is an example to sort on "support".
I want to sort on "support" AND THEN "confidence" - Is this possible ?
inspect (SORT(rules, by = "support"))

Regards



More information about the R-help mailing list