R/print_methods.R
print.gt_twobytwo.Rd
Print a compact console preview of a gt_twobytwo object.
gt_twobytwo
# S3 method for class 'gt_twobytwo' print(x, ...)
A gt_twobytwo object.
Further arguments passed to methods.
The input object, invisibly.
The print method shows the dataset name, row/reference definition, column/event definition, and the display-ready 2x2 epidemiology table.
x <- crosstabs(mtcars, row = am, col = vs) print(x)