specificity: Calculate the specificity

View source: R/ThresholdSummary.R

specificityR Documentation

Calculate the specificity

Description

Calculate the specificity

Usage

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

Details

Calculate the specificity

Value

specificity value


OHDSI/PatientLevelPrediction documentation built on April 6, 2024, 11:50 p.m.