Learn R Programming

PatientLevelPrediction (version 4.3.10)

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

Value

accuracy value

Details

Calculate the accuracy