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. The package is enhanced when the 'gt' package is installed. Use this code to install: 'remotes::install_github("rstudio/gt")'.

Version: 1.2.3
Depends: R (≥ 3.5)
Imports: broom (≥ 0.5.1), broom.mixed (≥ 0.2.3), crayon (≥ 1.3.4), dplyr (≥ 0.7.8), glue (≥ 1.3.0), knitr (≥ 1.21), lifecycle (≥ 0.1.0), magrittr (≥ 1.5), purrr (≥ 0.3.0), rlang (≥ 0.3.1), stringr (≥ 1.4.0), survival, tibble (≥ 2.0.1), tidyr (≥ 1.0.0), tidyselect (≥ 0.2.5), usethis (≥ 1.5.1)
Suggests: car (≥ 3.0.2), covr (≥ 3.2.1), geepack (≥ 1.2.1), ggplot2 (≥ 3.1.0), Hmisc (≥ 4.2.0), lme4 (≥, rmarkdown (≥ 1.11), spelling (≥ 2.0), testthat (≥ 2.1.0), forcats (≥ 0.4.0)
Enhances: gt (≥ 0.1.0)
Published: 2019-11-12
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]
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
Tutorial: tbl_regression
Tutorial: tbl_summary
Package source: gtsummary_1.2.3.tar.gz
Windows binaries: r-devel:, r-devel-gcc8:, r-release:, r-oldrel:
OS X binaries: r-release: gtsummary_1.2.3.tgz, r-oldrel: gtsummary_1.2.3.tgz
Old sources: gtsummary archive


Please use the canonical form to link to this page.