sortRule | R Documentation |
internal
sortRule(M, decreasing = TRUE)
M |
|
decreasing |
sorted rule conditions
##---- 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, ])
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.