diag.perf: Get diagnostic performance evaluation of some qualitative...

Description Usage Arguments Value

View source: R/diag_function.R

Description

Get diagnostic performance evaluation of some qualitative test

Usage

1
diag.perf(data, goldStandard, indexTest, M_pos, T_pos, round = 3)

Arguments

data

a data.frame, containing the diagnostic result

goldStandard

a character vector of length one, containing the colname of the gold-standard procedure

indexTest

a character vector of length one, containing the colname of the index procedure

M_pos

a character vector, containing the levels of positive result with gold-standard procedure

T_pos

a character vector, containing the levels of positive result with index procedure

round

an integer, number of maximal decimal. Default to 3

Value

a list contaning contengency table and performance evaluation as data.frame


rgriffier/statsBordeaux documentation built on Aug. 11, 2021, 9:59 a.m.