Description Usage Arguments Examples
Makes index of factors requiring indent from fmt_table1
objects in Rmarkdown
1 2 | ## S3 method for class 'fmt_table1'
indent_key(x, ...)
|
x |
|
... |
further arguments passed to or from other methods |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | t1 <-
trial %>%
fmt_table1() %>%
bold_labels()
knitr::kable(as_tibble(t1),
row.names = FALSE,
caption = "Table 1: Summary of Patient and Clinical Variables"
) %>%
kableExtra::kable_styling(
bootstrap_options = c("condensed"),
font_size = 11,
full_width = F
) %>%
kableExtra::add_indent(indent_key(t1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.