Skip to contents

Calculate test specificity

Usage

calculate_specificity(tn, fp)

Arguments

tn

Number of true negatives

fp

Number of false positives

Value

Numeric specificity value or NA when inputs are not valid.