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: 2.0.3
Depends: R (≥ 4.2)
Imports: cards (≥ 0.3.0), cli (≥ 3.6.3), dplyr (≥ 1.1.3), glue (≥ 1.8.0), gt (≥ 0.10.0), 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.17.0), broom.mixed (≥ 0.2.9), car (≥ 3.0-11), cardx (≥ 0.2.1), 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: 2024-10-04
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 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 [issues need fixing before 2024-12-10]

Documentation:

Reference manual: gtsummary.pdf
Vignettes: Definition of a gtsummary Object (source, R code)

Downloads:

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

Reverse dependencies:

Reverse imports: abmR, BSTZINB, gtreg, rUM, stRoke, tidycmprsk
Reverse suggests: archetyper, brms.mmrm, broom.helpers, dcurves, equatiomatic, flexlsx, genieBPC, ggstats, LightLogR, logitr, MiscMetabar, nascaR.data, psborrow2, simstudy, smdi

Linking:

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