Learn R Programming

gtsummary (version 0.1.0)

knit_print.fmt_table1: Print fmt_table1 objects in Rmarkdown

Description

Print fmt_table1 objects in Rmarkdown

Usage

# S3 method for fmt_table1
knit_print(x, options, ...)

Arguments

x

object of class `fmt_table1`` object from fmt_table1 function

options

Copied from the printr package....should we delete?

...

further arguments passed to kable.

Examples

Run this code
# NOT RUN {
fmt_table1(trial, by = "trt") %>% knit_print()
# }

Run the code above in your browser using DataLab