View source: R/epi_functions.R
diag_test2 | R Documentation |
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(aa, bb, cc, dd)
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. |
diag.test
uses direct input variables.
epi.tests
.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.