powered by
diag_test2 is a wrap that calls epi.tests from package epiR. It computes sensitivity, specificity and other statistics related with screening tests.
diag_test2
epi.tests
epiR
diag_test2(aa, bb, cc, dd)
Number of cases where both screening test and the gold standard are positive.
Number of cases where screening test is positive but gold standard is negative.
Number of cases where screening test is negative but gold standard is positive.
Number of cases where both screening test and the gold standard are negative.
diag.test uses direct input variables.
diag.test
epi.tests.
# NOT RUN { ## We compare the use of lung<U+2019>s X-rays on the screening of TB against the gold standard test. diag_test2(22, 51, 8, 1739) # }
Run the code above in your browser using DataLab