print.binTab | R Documentation |
Print Boolean test-&-disease and/or risk-&-disease table.
## S3 method for class 'binTab'
print(x, prevalence, ansi = identical(.Platform$GUI, "RStudio"), ...)
x |
a binTab |
prevalence |
(optional) numeric scalar or vector, prevalence of disease |
ansi |
logical scalar, whether to allow ANSI escapes. ANSI escapes are rendered beautifully in RStudio console, but not in R vanilla GUI, nor in package rmarkdown. |
... |
potential parameters, currently not in use |
Function print.binTab prints the diagnostic test characteristics,
e.g., sensitivity, specificity, predictive values, and diagnostic accuracy,
together with their 95\%
Clopper-Pearson exact confidence intervals.
Function print.binTab does not have a returned value.
https://en.wikipedia.org/wiki/Diagnostic_odds_ratio
(x = array(c(95L, 10L, 31L, 82L), dim = c(2L, 2L)))
binTab(x)
print(binTab(x), prevalence = c(.0001, .001, .01))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.