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