The R Journal

Reproducible Summary Tables with the gtsummary Package

Publications

Authors

Daniel D. Sjoberg, Karissa Whiting, Michael Curry, Jessica A. Lavery, Joseph Larmarange

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 with standard data workflows, and offers many table customization features through function arguments, helper functions, and custom themes.

Reference

Sjoberg Daniel D., Whiting Karissa, Curry Michael, Lavery Jessica A. and Larmarange Joseph (2021) “The R Journal: Reproducible Summary Tables with the gtsummary Package”, The R Journal, 13 (1) (August), p. 570-580. DOI : 10.32614/RJ-2021-053. https://doi.org/10.32614/RJ-2021-053/.

Links

- gtsummary website