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.4
Depends: R (≥ 4.2)
Imports: cards (≥ 0.4.0), 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.17.0), broom.mixed (≥ 0.2.9), car (≥ 3.0-11), cardx (≥ 0.2.2), 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-11-30
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

Documentation:

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

Downloads:

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

Reverse dependencies:

Reverse imports: abmR, BSTZINB, gtreg, REDCapCAST, 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.