calculateSRDValues {rSRD} | R Documentation |
calculateSRDValues
Description
R interface to calculate SRD values. To test the results' significance run calculateSRDDistribution(). For more information about SRD scores and their validation see Héberger and Kollár-Hunek (2011).
Usage
calculateSRDValues(data_matrix, output_to_file = FALSE)
Arguments
data_matrix |
A DataFrame. |
output_to_file |
Boolean flag to enable file output. |
Value
A vector containing the SRD values.
Author(s)
Balázs R. Sziklai sziklai.balazs@krtk.hu, Linus Olsson linusmeol@gmail.com
References
Héberger K., Kollár-Hunek K. (2011) "Sum of ranking differences for method discrimination and its validation: comparison of ranks with random numbers", Journal of Chemometrics, 25(4), pp. 151–158.
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))
calculateSRDValues(df)
[Package rSRD version 0.1.7 Index]