NPV {causalDisco} | R Documentation |
Computes negative predictive value recall from a confusion matrix, see confusion. Negative predictive value is defined as TN/(TN + FN), where TN are true negatives and FN are false negatives. If TP + FN = 0, 0 is returned.
NPV(confusion)
confusion |
Confusion matrix as obtained from confusion |
A numeric in [0,1].