print.twoxtwo: Print twoxtwo object

Description Usage Arguments Value

View source: R/methods.R

Description

The print.twoxtwo() function provides an S3 method for printing objects created with twoxtwo. The printed output formats the contents of the twoxtwo table as a kable.

Usage

1
2
## S3 method for class 'twoxtwo'
print(x, ...)

Arguments

x

twoxtwo object

...

Additional arguments passed to kable

Value

A printed knitr_kable object with the twoxtwo cell counts, exposure levels as row names, and outcome levels as column names.


twoxtwo documentation built on July 9, 2021, 9:08 a.m.