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
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 gmail.com>
BugReports: https://github.com/ddsjoberg/gtsummary/issues
License: MIT + file LICENSE
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

Documentation:

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

Downloads:

Package source: gtsummary_1.7.2.tar.gz
Windows binaries: r-devel: gtsummary_1.7.2.zip, r-release: gtsummary_1.7.2.zip, r-oldrel: gtsummary_1.7.2.zip
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
Old sources: gtsummary archive

Reverse dependencies:

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

Linking:

Please use the canonical form https://CRAN.R-project.org/package=gtsummary to link to this page.