Calculate the specificity

specificity(TP, TN, FN, FP)

Arguments

TP

Number of true positives

TN

Number of true negatives

FN

Number of false negatives

FP

Number of false positives

Value

specificity value

Details

Calculate the specificity