R/diagnostichelpers.R
dot-calculateNPV.Rd
Calculate Negative Predictive Value
.calculateNPV(tn, fn, prevalence = NULL)
Number of true negatives
Number of false negatives
Disease prevalence (optional, for Bayes adjustment)
NPV value (0-1)