fnr: False negative rate

View source: R/utils.R

fnrR Documentation

False negative rate

Description

This function returns the false negative rate given the number of true-positives and false-negatives. The respective formula is fnr = fn / (fn + tp)

Usage

fnr(tp, fn)

Arguments

tp

Number of true-positives

fn

Number of false-neagtives

Value

The value of the true positive rate

Examples

#          Reference
# Prediction    1    0
#          1  892  398
#          0  446 2278
tpr(tp = 892, fn = 446)


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