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 April 6, 2024, 11:50 p.m.