Description Usage Arguments Value
View source: R/print_flextable.R
This function receives data for labtests and formats it appropriately. It prints the table as a kable if FLAG.flextable if FALSE or as a flextable object if FLAG.flextable is TRUE.
1 2 3 4 5 6 | print_flextable(
tb,
column_recode = NA,
bg_colour = "lightgrey",
column_padding = NA
)
|
tb |
the data as a tibble |
column_recode |
optional named list for renaming columns |
bg_colour |
optional background colour definition for header |
column_padding |
(optional) list of paddings to use for each row; add a new item to the list for each column. |
Table object to print
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.