dadb: Generate a data.frame of diagnostic accuracy study.

View source: R/dadb.R

dadbR Documentation

Generate a data.frame of diagnostic accuracy study.

Description

Generate a data.frame of diagnostic accuracy study given true negative, true positive, false negative, false positive.

Usage

dadb(tn, tp, fn, fp)

Arguments

tn

True negative

tp

True positive

fn

False negative

fp

False positive

Value

A data.frame for diagnostic accuracy studies.

Examples


db <- dadb(tn=720, tp=190, fn=10 , fp=80)
with(db, table(test,refstd))


lbraglia/lbdiag documentation built on Dec. 26, 2024, 10:57 a.m.