dpstats: Diagnostic Performance Statistics.

Description Usage Arguments Value

View source: R/cmat.R

Description

Given a confusion matrix of the sort matrix(c(tp, fp, tn, fn), nrow = 2), calculate common diagnostic performance statistics.

Usage

1

Arguments

cmat

A confusion matrix of true and false positives and negatives, organized as matrix(c(tp, fp, tn, fn), nrow = 2).

Value

A list of diagnostic performance statistics, namely the Sensitivity, Specificity, Positive and Negative Likelihood Ratios (LR+ and LR-), Positive and Negative Predictive values (PPV and NPV), and the Youden's J statistic.


hthaa/cacPlot documentation built on Dec. 18, 2019, 4:34 a.m.