ROC {DataVisualizations}R Documentation

ROC plot

Description

ROC

Usage

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.

Value

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)


[Package DataVisualizations version 1.3.2 Index]