tnr | R Documentation |
This function returns the true negative rate given the number of true-negatives and false-positives. The respective formula is tnr = tn / (tn + fp)
tnr(tn, fp)
tn |
Number of true-negatives |
fp |
Number of false-positives |
The value of the false positive rate
# Reference
# Prediction 1 0
# 1 892 398
# 0 446 2278
tpr(tn = 2278, fp = 398)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.