style_tbl_compact: Compact Table Styling

View source: R/style_tbl_compact.R

style_tbl_compactR Documentation

Compact Table Styling

Description

Apply the same compact styling available from gtsummary::theme_gtsummary_compact() to any gt, flextable, huxtable, or knitr::kable() table. knitr::kable() stlying uses the kableExtra package

Usage

style_tbl_compact(data)

Arguments

data

a gt, flextable, huxtable, or knitr::kable() table.

Example Output

Example 1

See Also

Other gtsummary-related functions: add_inline_forest_plot(), add_sparkline(), as_ggplot(), bold_italicize_group_labels(), logistic_reg_adj_diff(), tbl_likert(), theme_gtsummary_msk()

Examples

style_tbl_compact_ex1 <-
  head(trial) %>%
  gt::gt() %>%
  style_tbl_compact()


ddsjoberg/bstfun documentation built on May 14, 2022, 8:56 p.m.