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.3.3
Depends: R (≥ 3.4)
Imports: broom (≥ 0.7.0), broom.mixed (≥ 0.2.6), dplyr (≥ 1.0.1), forcats (≥ 0.5.0), glue (≥ 1.4.1), gt (≥ 0.2.2), knitr (≥ 1.29), lifecycle (≥ 0.2.0), magrittr (≥ 1.5), purrr (≥ 0.3.4), rlang (≥ 0.4.7), stringr (≥ 1.4.0), tibble (≥ 3.0.3), tidyr (≥ 1.1.1), tidyselect (≥ 1.1.0), usethis (≥ 1.6.1)
Suggests: car, covr, flextable (≥ 0.5.10), geepack, Hmisc, huxtable (≥ 5.0.0), kableExtra, lme4, officer, pkgdown, rmarkdown, scales, spelling, survey, survival, testthat
Published: 2020-08-11
Author: Daniel D. Sjoberg ORCID iD [aut, cre], Margie Hannum ORCID iD [aut], Karissa Whiting ORCID iD [aut], Emily C. Zabor ORCID iD [aut], Michael Curry ORCID iD [ctb], Esther Drill ORCID iD [ctb], Jessica Flynn ORCID iD [ctb], Joseph Larmarange ORCID iD [ctb], Stephanie Lobaugh [ctb], Gustavo Zapata Wainberg ORCID iD [ctb]
Maintainer: Daniel D. Sjoberg <danield.sjoberg at>
License: MIT + file LICENSE
NeedsCompilation: no
Language: en-US
Materials: README NEWS
CRAN checks: gtsummary results


Reference manual: gtsummary.pdf
Vignettes: Table Gallery
Global Options
Definition of a gtsummary Object
Tutorial: inline_text
gtsummary + R Markdown
Tutorial: tbl_regression
Tutorial: tbl_summary
gtsummary themes
Package source: gtsummary_1.3.3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release: gtsummary_1.3.3.tgz, r-oldrel: gtsummary_1.3.3.tgz
Old sources: gtsummary archive


Please use the canonical form to link to this page.