rocRcpp: Generate a ROC

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Generate a ROC

Usage

1
rocRcpp(truth, output, n_levels)

Arguments

truth

A vector with the truth

output

An order vector with the output of the method. The first elements represent the items more likely to be TRUE.

n_levels

Number of unique values in the output

Value

TPR

Vector with the true positive rate

FPR

Vector with the false positive rate

AUC

Area under the curve - based on the values in TPR and FPR


bips-hb/pvmcomparison documentation built on Dec. 13, 2020, 3:46 a.m.