accuracy: Calculate the accuracy

View source: R/ThresholdSummary.R

accuracyR Documentation

Calculate the accuracy

Description

Calculate the accuracy

Usage

accuracy(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 accuracy

Value

accuracy value


OHDSI/PatientLevelPrediction documentation built on Sept. 15, 2024, 6:38 a.m.