View source: R/diagnostic_metrics.R
calculate_specificity | R Documentation |
Calculate test specificity
calculate_specificity(tn, fp)
tn |
Number of true negatives |
fp |
Number of false positives |
Numeric specificity value or NA
when inputs are not valid.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.