View source: R/print.table2x2.R
print.table2x2 | R Documentation |
print results of 2x2 contingency table analysis
## S3 method for class 'table2x2' print(x, digits = 1, ...)
x |
object obtained with table2x2 |
digits |
rounding digits |
... |
not used |
invisible x
Thomas A. Gerds <tag@biostat.ku.dk>
table2x2
table2x2(table("marker"=rbinom(100,1,0.4),"response"=rbinom(100,1,0.1))) table2x2(matrix(c(71,18,38,8),ncol=2),stats="table") table2x2(matrix(c(71,18,38,8),ncol=2),stats=c("rr","fisher"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.