diag_test2 {pubh} | R Documentation |
Diagnostic tests from direct input.
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
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
Examples
## 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)
[Package pubh version 1.3.2 Index]