Skip to contents

Ranks output of statistical method used for screening.

Usage

defaultRanking(
  x,
  id = c("cor.test", "pearson", "spearman", "kendall", "t.test", "t.test.equal",
    "t.test.unequal", "t.test.paired", "w.test", "w.test.ranksum", "w.test.paired",
    "anova", "anova.equal", "anova.unequal", "kruskal.wallis", "chisq.test", "coxph",
    "moderated.t", "moderated.F", "sam.test", "missing.value", "above.median",
    "above.minimum", "median", "variability"),
  multi
)

Arguments

x

output of the statistical function used for screening.

id

character string indicating statistical method used for screening.

multi

character string indicating what to do in case of multi-response (available options are "max", "min", "avg", "sum") or integer indicating the column of x to keep.

Value

The ordering index vector.

Author

Alessandro Barberis