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

Description Usage Arguments Value Examples

View source: R/dadb.R

Description

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

Usage

1
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

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

lbraglia/yapomif documentation built on May 20, 2019, 11:26 p.m.