sort.SDEFSR_Rules {SDEFSR} | R Documentation |
@title Return an ordered rule set by a given quality measure @description This function sorts a rule set in descendant order by a given quality measure that are available on the object
Description
@title Return an ordered rule set by a given quality measure
@description This function sorts a rule set in descendant order by a given quality measure that are available on the object
Usage
## S3 method for class 'SDEFSR_Rules'
sort(x, decreasing = TRUE, ...)
Arguments
x |
The rule set passed as a |
decreasing |
A logical indicating if the sort should be increasing or decreasing. By default, decreasing. |
... |
Additional parameters as "by", a String with the name of the quality measure to order by. Valid values are: |
Details
The additional argument in "..." is the 'by' argument, which is a s
string with the name of the quality measure to order by. Valid values are:
nVars, Coverage, Unusualness, Significance, FuzzySupport, Support, FuzzyConfidence, Confidence, Tpr, Fpr
.
Value
another SDEFSR_Rules
object with the rules sorted
Examples
sort(habermanRules)