Calculate specificity from true positives, false positives, true negatives and false negatives.
The inputs must be vectors of equal length.
specificity = tn / (tn + fp)
Usage
specificity(fp, tn, ...)
Arguments
fp
(numeric) number of false positives.
tn
(numeric) number of true negatives.
...
for capturing additional arguments passed by method.