sort.SDEFSR_Rules: @title Return an ordered rule set by a given quality measure...

Description Usage Arguments Details Value Examples

View source: R/exportedFunctions.R

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

1
2
## S3 method for class 'SDEFSR_Rules'
sort(x, decreasing = TRUE, ...)

Arguments

x

The rule set passed as a SDEFSR_Rules object

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: nVars, Coverage, Unusualness, Significance, FuzzySupport, Support, FuzzyConfidence, Confidence, Tpr, Fpr.

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

1
2

SDEFSR documentation built on April 30, 2021, 9:10 a.m.