RankSummary-class: Class RankSummary

Description Usage Arguments Examples

Description

A class containing different rankings of a dataset further summary information like the stable set sizes, a correlation matrix of the rankings, the name of the base ranking method, the function call and if needed the Pi matrix of the stabilityRanking.

Slots

baseRank:

a numeric vector containing the base ranking

stabRank:

a numeric vector containing the stability ranking

avrgRank:

a numeric vector containing the average ranking

stableSetSize:

the sizes of the stable sets for each cutoff

rankCor

Spearman's rank correlation coefficient for the three rankings

method

the used method

Pi:

a matrix containing

Accessors

Methods

RankSummary objects can be created using the constructor RankSummary, however this is most likely not needed.

Usage

1
2
3
4
  RankSummary(baseRank = 0, stabRank = 0, avrgRank = 0,
    stableSetSize = 0,
    rankCor = matrix(NA, nrow = 3, ncol = 3), method = "",
    Pi = matrix(NA, nrow = 1, ncol = 1))

Arguments

baseRank

a numeric vector containing the base ranking

stabRank

a numeric vector containing the stability ranking

avrgRank

a numeric vector containing the average ranking

stableSetSize

the sizes of the stable sets for each cutoff

rankCor

Spearman's rank correlation coefficient for the three rankings

method

the used method

Pi

a matrix containing

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# overview of RankSummary class
showClass("RankSummary")
# generate dataset
d<-replicate(4,sample(1:10,10,replace=FALSE))
rownames(d)<-letters[1:10]
# run default stability ranking
s<-stabilityRanking(d)
# using an accessor functions on the RankSummary object
stabRank(s)
rankCor(s)
# create a new empty object of class RankSummary using the constructor
RankSummary()

staRank documentation built on Nov. 8, 2020, 7:51 p.m.