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. The package is enhanced when the 'gt' package is installed. Use this code to install: 'remotes::install_github("rstudio/gt")'.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("gtsummary")

1.2.2 by Daniel D. Sjoberg, a day ago


https://github.com/ddsjoberg/gtsummary, http://www.danieldsjoberg.com/gtsummary/


Report a bug at https://github.com/ddsjoberg/gtsummary/issues


Browse source code at https://github.com/cran/gtsummary


Authors: Daniel D. Sjoberg [aut, cre] , Margie Hannum [aut] , Karissa Whiting [aut] , Emily C. Zabor [aut] , Michael Curry [ctb] , Esther Drill [ctb] , Jessica Flynn [ctb]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports broom, broom.mixed, crayon, dplyr, glue, knitr, lifecycle, magrittr, purrr, rlang, stringr, survival, tibble, tidyr, tidyselect, usethis

Suggests car, covr, curl, geepack, ggplot2, Hmisc, lme4, remotes, rmarkdown, spelling, testthat, forcats

Enhances gt


See at CRAN