style_tbl_compact: Compact Table Styling

Description Usage Arguments Examples

View source: R/style_tbl_compact.R

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

1

Arguments

data

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

Examples

1
2
3
4
style_tbl_compact_ex1 <-
  head(trial) %>%
  gt::gt() %>%
  style_tbl_compact()

ddsjoberg/bstfun documentation built on May 4, 2021, 9:39 a.m.