gtsummary (2.4.0)

Published 2026-02-24 13:47:15 +00:00 by atheaadmin

Installation

options("repos" = c(getOption("repos"), c(gitea="")))
install.packages("gtsummary")

About this package

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.Presentation-Ready Data Summary and Analytic Result Tables

Dependencies

Imports cards (>= 0.7.0), cardx (>= 0.3.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)
Depends R (>= 4.2)
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)
Details
CRAN
2026-02-24 13:47:15 +00:00
1
MIT + file LICENSE
Daniel D. Sjoberg (ORCID:
903 KiB
Assets (1)
Versions (1) View all
2.4.0 2026-02-24