powered by
Receiver operating characteristic curve
ROC(Data, Cls, Names, Colors)
List of ROCit results for each score column in Data.
Plotly object.
[1:n, 1:d] numeric vector or matrix of scores to be evaluated with ROC.
[1:n] numeric vector with true classes.
[1:d] character vector with names for scores.
[1:d] character vector with colores for scores.
Quirin Stier
Data = runif(1000,0,1) Cls = sample(c(0,1), 1000, replace = TRUE) ROC(Data, Cls)
Run the code above in your browser using DataLab