FDR {causalDisco} | R Documentation |
Computes false discovery rate from a confusion matrix, see confusion. False discovery rate is defined as FP/(FP + TP), where FP are false positives and TP are true positives. If FP + TP = 0, 0 is returned.
FDR(confusion)
confusion |
Confusion matrix as obtained from confusion |
A numeric in [0,1].