sortRule: internal

View source: R/sortRule.R

sortRuleR Documentation

internal

Description

internal

Usage

sortRule(M, decreasing = TRUE)

Arguments

M
decreasing

Value

sorted rule conditions

Examples

##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (M, decreasing = TRUE) 
{
    qIx = order((1 - as.numeric(ruleMetric[, "err"])), as.numeric(ruleMetric[, 
        "freq"]), -as.numeric(ruleMetric[, "len"]), decreasing = decreasing)
    return(M[qIx, ])
  }

inTrees documentation built on May 29, 2024, 2:39 a.m.

Related to sortRule in inTrees...