R/diagnostichelpers.R
dot-calculatePPV.Rd
Calculate Positive Predictive Value (Precision)
.calculatePPV(tp, fp, prevalence = NULL)
Number of true positives
Number of false positives
Disease prevalence (optional, for Bayes adjustment)
PPV value (0-1)