fpr: Fales positive rate

View source: R/utils.R

fprR Documentation

Fales positive rate

Description

This function returns the false positive rate given the number of true-negatives and false-positives. The respective formula is fpr = fp / (fp + tn)

Usage

fpr(tn, fp)

Arguments

tn

Number of true-negatives

fp

Number of false-positives

Value

The value of the false positive rate

Examples

#          Reference
# Prediction    1    0
#          1  892  398
#          0  446 2278
tpr(tn = 2278, fp = 398)


mai00fti/prettyPROC documentation built on Aug. 16, 2024, 4:48 p.m.