Print fmt_table1 objects in Rmarkdown

# 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

fmt_table1(trial, by = "trt") %>% knit_print()
#> Error in knitr::kable(t, options$printr.table.format, caption = options$printr.table.caption, ...): argument "options" is missing, with no default