print and knit_print methods for gtsummary objects

# S3 method for gtsummary
print(x, print_engine = NULL, ...)

# S3 method for gtsummary
knit_print(x, ...)

Arguments

x

An object created using gtsummary functions

print_engine

String indicating the print method. Must be one of "gt", "kable", "kable_extra", "flextable", "tibble"

...

Not used

Author

Daniel D. Sjoberg