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: | 2.5.0 |
| Depends: | R (≥ 4.2) |
| Imports: | cards (≥ 0.7.1),cardx (≥ 0.3.1),cli (≥ 3.6.3),dplyr (≥1.1.3),glue (≥ 1.8.0),gt (≥ 0.11.1),lifecycle (≥ 1.0.3),rlang (≥ 1.1.1),tidyr (≥ 1.3.0),vctrs (≥ 0.6.4) |
| Suggests: | aod (≥ 1.3.3),broom (≥ 1.0.5),broom.helpers (≥ 1.20.0),broom.mixed (≥ 0.2.9),car (≥ 3.0-11),cmprsk,effectsize (≥0.6.0),emmeans (≥ 1.7.3),flextable (≥ 0.8.1),geepack (≥1.3.10),ggstats (≥ 0.2.1),huxtable (≥ 5.4.0),insight (≥0.15.0),kableExtra (≥ 1.3.4),knitr (≥ 1.37),lme4 (≥1.1-31),mice (≥ 3.10.0),nnet,officer,openxlsx,parameters (≥ 0.20.2),parsnip (≥ 0.1.7),rmarkdown,smd (≥ 0.6.6),spelling,survey (≥ 4.2),survival (≥ 3.6-4),testthat (≥3.2.0),withr (≥ 2.5.0),workflows (≥ 0.2.4) |
| Published: | 2025-12-05 |
| DOI: | 10.32614/CRAN.package.gtsummary |
| Author: | Daniel D. Sjoberg [aut, cre], Joseph Larmarange [aut], Michael Curry [aut], Emily de la Rua [aut], Jessica Lavery [aut], Karissa Whiting [aut], Emily C. Zabor [aut], Xing Bai [ctb], Malcolm Barrett [ctb], Esther Drill [ctb], Jessica Flynn [ctb], Margie Hannum [ctb], Stephanie Lobaugh [ctb], Shannon Pileggi [ctb], Amy Tin [ctb], Gustavo Zapata Wainberg [ctb] |
| Maintainer: | Daniel D. Sjoberg <danield.sjoberg at gmail.com> |
| BugReports: | https://github.com/ddsjoberg/gtsummary/issues |
| License: | MIT + fileLICENSE |
| URL: | https://github.com/ddsjoberg/gtsummary,https://www.danieldsjoberg.com/gtsummary/ |
| NeedsCompilation: | no |
| Language: | en-US |
| Citation: | gtsummary citation info |
| Materials: | README,NEWS |
| In views: | ReproducibleResearch |
| CRAN checks: | gtsummary results |