print.binTab {DanielBiostatistics10th} | R Documentation |
Print Boolean Test-&-Disease and/or Risk-&-Disease Table
Description
Print Boolean test-&-disease and/or risk-&-disease table.
Usage
## S3 method for class 'binTab'
print(x, prevalence, ansi = identical(.Platform$GUI, "RStudio"), ...)
Arguments
x |
a binTab |
prevalence |
|
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 |
Details
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.
Value
Function print.binTab does not have a returned value.
References
https://en.wikipedia.org/wiki/Diagnostic_odds_ratio
Examples
(x = array(c(95L, 10L, 31L, 82L), dim = c(2L, 2L)))
binTab(x)
print(binTab(x), prevalence = c(.0001, .001, .01))
[Package DanielBiostatistics10th version 0.2.6 Index]