gtsummary: Presentation-Ready Data Summary and Analytic Result Tables

Creates presentation-ready tables summarizing data sets, regression models, and more. The code to create the tables is concise and highly customizable. Data frames can be summarized with any function, e.g. mean(), median(), even user-written functions. Regression models are summarized and include the reference rows for categorical variables. Common regression models, such as logistic regression and Cox proportional hazards regression, are automatically identified and the tables are pre-filled with appropriate column headers.

Version: 1.7.2
Depends: R (≥ 3.4)
Imports: broom (≥ 1.0.1), broom.helpers (≥ 1.13.0), cli (≥ 3.1.1), dplyr (≥ 1.1.1), forcats (≥ 1.0.0), glue (≥ 1.6.2), gt (≥ 0.9.0), knitr (≥ 1.37), lifecycle (≥ 1.0.1), purrr (≥ 1.0.1), rlang (≥ 1.0.3), stringr (≥ 1.4.0), tibble (≥ 3.2.1), tidyr (≥ 1.1.4), vctrs (≥ 0.5.2)
Suggests: aod (≥ 1.3.1), broom.mixed (≥ 0.2.9), car (≥ 3.0-11), cmprsk, covr, effectsize (≥ 0.6.0), emmeans (≥ 1.7.3), flextable (≥ 0.8.1), geepack, ggstats (≥ 0.2.1), Hmisc, huxtable (≥ 5.4.0), insight (≥ 0.15.0), kableExtra (≥ 1.3.4), lme4, mgcv, mice (≥ 3.10.0), nnet, officer, openxlsx, parameters (≥ 0.20.2), parsnip (≥ 0.1.7), rmarkdown, sandwich (≥ 3.0.1), scales, smd (≥ 0.6.6), spelling (≥ 2.2), survey, survival (≥ 3.2-11), testthat (≥ 3.0.4), tidycmprsk (≥ 0.1.2), workflows (≥ 0.2.4)
Published: 2023-07-15
DOI: 10.32614/CRAN.package.gtsummary
Author: Daniel D. Sjoberg ORCID iD [aut, cre], Joseph Larmarange ORCID iD [aut], Michael Curry ORCID iD [aut], Jessica Lavery ORCID iD [aut], Karissa Whiting ORCID iD [aut], Emily C. Zabor ORCID iD [aut], Xing Bai [ctb], Esther Drill ORCID iD [ctb], Jessica Flynn ORCID iD [ctb], Margie Hannum ORCID iD [ctb], Stephanie Lobaugh [ctb], Shannon Pileggi ORCID iD [ctb], Amy Tin ORCID iD [ctb], Gustavo Zapata Wainberg ORCID iD [ctb]
Maintainer: Daniel D. Sjoberg <danield.sjoberg at>
License: MIT + file LICENSE
NeedsCompilation: no
Language: en-US
Citation: gtsummary citation info
Materials: README NEWS
In views: ReproducibleResearch
CRAN checks: gtsummary results [issues need fixing before 2024-07-30]


Reference manual: gtsummary.pdf
Vignettes: FAQ + Gallery
Definition of a gtsummary Object
Tutorial: inline_text
gtsummary + Quarto/R Markdown
Tutorial: tbl_regression
Tutorial: tbl_summary
gtsummary themes


Package source: gtsummary_1.7.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): gtsummary_1.7.2.tgz, r-oldrel (arm64): gtsummary_1.7.2.tgz, r-release (x86_64): gtsummary_1.7.2.tgz, r-oldrel (x86_64): gtsummary_1.7.2.tgz
Old sources: gtsummary archive

Reverse dependencies:

Reverse depends: pubh
Reverse imports: abmR, gtreg, IPDFileCheck, rUM, stRoke, tidycmprsk
Reverse suggests: archetyper, brms.mmrm, broom.helpers, dcurves, equatiomatic, flexlsx, genieBPC, LightLogR, logitr, MiscMetabar,, psborrow2, simstudy, smdi


Please use the canonical form to link to this page.