print.twoxtwo {twoxtwo}R Documentation

Print twoxtwo object

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

## 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.


[Package twoxtwo version 0.1.0 Index]