Is there a way to sort rules by confidence and lift at the same time?
I got:
rules_order <- sort(rules, decreasing=TRUE,by="confidence")
but I cannot order by both at the same time.
Is there a way to sort rules by confidence and lift at the same time?
I got:
rules_order <- sort(rules, decreasing=TRUE,by="confidence")
but I cannot order by both at the same time.
I hope this will solve your problem
x1 <- sort(x, by = c('support','confidence'))