ROC function

ROC plot

ROC plot

Receiver operating characteristic curve

ROC(Data, Cls, Names, Colors)

Arguments

  • 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.

Returns

  • ROCit: List of ROCit results for each score column in Data.

  • Plot: Plotly object.

Author(s)

Quirin Stier

Examples

Data = runif(1000,0,1) Cls = sample(c(0,1), 1000, replace = TRUE) ROC(Data, Cls)