R/diagnostic_metrics.R
calculate_specificity.Rd
Calculate test specificity
calculate_specificity(tn, fp)
Number of true negatives
Number of false positives
Numeric specificity value or NA when inputs are not valid.
NA