style_tbl_compact: Compact Table Styling

View source: R/style_tbl_compact.R

style_tbl_compactR Documentation

Compact Table Styling

Description

[Deprecated]

Use gtsummary::theme_gtsummary_compact() and gtreg::tbl_listing() to apply gtsummary compact formatting to any type of table.

Usage

style_tbl_compact(data)

Arguments

data

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

Details

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

Example Output

Example 1

style_tbl_compact_ex1.png

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 18, 2024, 5:24 a.m.