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
2
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))

yapomif documentation built on May 31, 2017, 2:23 a.m.