utilsRankingMatrix {rSRD} | R Documentation |
utilsRankingMatrix
Description
R interface to perform the rank transformation on the columns of the input data frame. Ties are resolved by fractional ranking.
Usage
utilsRankingMatrix(data_matrix)
Arguments
data_matrix |
A DataFrame. |
Value
A DataFrame containing the ranking matrix.
Author(s)
Balázs R. Sziklai sziklai.balazs@krtk.hu, Linus Olsson linusmeol@gmail.com
Examples
df <- data.frame(
A=c(32, 52, 44, 44, 47),
B=c(73, 75, 65, 76, 70),
C=c(60, 59, 57, 55, 60),
D=c(35, 24, 44, 83, 47),
E=c(41, 52, 46, 50, 65))
utilsRankingMatrix(df)
[Package rSRD version 0.1.7 Index]