diag_test2: Diagnostic tests from direct input.

Description Usage Arguments Details See Also Examples

View source: R/epi_functions.R

Description

diag_test2 is a wrap that calls epi.tests from package epiR. It computes sensitivity, specificity and other statistics related with screening tests.

Usage

1
diag_test2(aa, bb, cc, dd)

Arguments

aa

Number of cases where both screening test and the gold standard are positive.

bb

Number of cases where screening test is positive but gold standard is negative.

cc

Number of cases where screening test is negative but gold standard is positive.

dd

Number of cases where both screening test and the gold standard are negative.

Details

diag.test uses direct input variables.

See Also

epi.tests.

Examples

1
2
## We compare the use of lung’s X-rays on the screening of TB against the gold standard test.
diag_test2(22, 51, 8, 1739)

pubh documentation built on Feb. 17, 2021, 1:08 a.m.