utilsDetailedSRD | R Documentation |
Detailed calculation of the SRD values including the computation of the ranking transformation. Unless there is a column specified with referenceCol the last column will always taken as the reference.
utilsDetailedSRD(
df,
referenceCol,
createRefCol = function() {
}
)
df |
A DataFrame. |
referenceCol |
Optional. A string that contains a column of |
createRefCol |
Optional. Can be max, min, median, mean. Creates a new Column based on the existing |
Returns a new DataFrame that shows the detailed SRD computation (ranking transformation and distance calculation). A newly added row contains the SRD values (displayed without normalization).
Ali Tugay Sen, Jochen Staudacher jochen.staudacher@hs-kempten.de
SRDInput <- 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))
rSRD::utilsDetailedSRD(SRDInput)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.