display {twoxtwo} | R Documentation |
Display twoxtwo object
Description
This is a helper to render a twoxtwo object as a kable. The function extracts twoxtwo
cell counts and uses exposure levels as row names and outcome levels as column names.
Usage
display(.twoxtwo, ...)
Arguments
.twoxtwo |
twoxtwo object |
... |
Additional arguments passed to kable |
Value
A knitr_kable
object with the twoxtwo
cell counts, exposure levels as row names, and outcome levels as column names.
[Package twoxtwo version 0.1.0 Index]