Description Usage Arguments Value
View source: R/HelperFunctions.R
This function extracts the rule from an object of class Rules function in the form of It1, ... ItN -> ITK.
1 2 | ExtractRules(rules, maxNumConsequent = NULL, order_by = NULL,
decreasing = TRUE)
|
rules |
An object of class Rules. |
maxNumConsequent |
Maximal length the reported rule consequent should have. |
order_by |
Specifiy up to four metrics out of support, confidence, lift, leverage by which the given rules should be sorted. |
decreasing |
Should the rules start with the smallest or highest values of the specified metrics? |
The rules from the left hand and right hand side in the form of It1, ... ItN -> ITK in a data.frame. This data.frame does have columns lhs, rhs, unnamed, support and confidence.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.