R/utils.R
calculate_ppv.Rd
Calculates PPV from confusion matrix values
calculate_ppv(tp, fp)
Number of true positives
Number of false positives
Numeric PPV value or NA when inputs are not valid