The R Journal: accepted article

This article will be copy edited and may be changed before publication.

Reproducible Summary Tables with the gtsummary Package PDF download
Daniel D. Sjoberg, Karissa Whiting and Michael Curry

Abstract The gtsummary package provides an elegant and flexible way to create publication-ready summary tables in R. A critical part of the work of statisticians, data scientists, and analysts is summarizing data sets and regression models in R and publishing or sharing polished summary tables. The gtsummary package was created to streamline these everyday analysis tasks by allowing users to easily create reproducible summaries of data sets, regression models, survey data, and survival data with a simple interface and very little code. The package follows a tidy framework, making it easy to integrate in standard data workflows, and offers many table customization features through function arguments, helper functions, and custom themes.

Received: 2021-01-15; online 2021-06-08
CRAN packages: gtsummary, broom, gt, magrittr, tidyselect, tidyverse, skimr, stargazer, finalfit, tableone, glue, survey, flextable, huxtable, kableExtra
CRAN Task Views implied by cited CRAN packages: ReproducibleResearch, OfficialStatistics, SocialSciences, Survival, WebTechnologies


CC BY 4.0
This article is licensed under a Creative Commons Attribution 4.0 International license.

@article{RJ-2021-053,
  author = {Daniel D. Sjoberg and Karissa Whiting and Michael Curry},
  title = {{Reproducible Summary Tables with the gtsummary Package}},
  year = {2021},
  journal = {{The R Journal}},
  doi = {10.32614/RJ-2021-053},
  url = {https://journal.r-project.org/archive/2021/RJ-2021-053/index.html}
}