gtstats: Beginner-Friendly Statistics and Publication-Ready Tables

Provides beginner-friendly functions for common descriptive and inferential statistical analyses, together with tools for creating publication-ready tables. The package includes data description, summary statistics, distribution assessment, group comparisons, effect sizes, correlations, proportions and rates with confidence intervals, crosstabs for epidemiological measures, plots, and modular table-building workflows. Statistical methods include unequal-variance comparisons described by Welch (1947) <doi:10.1093/biomet/34.1-2.28>, score confidence intervals described by Wilson (1927) <doi:10.1080/01621459.1927.10502953>, and robust variance assessment described by Brown and Forsythe (1974) <doi:10.1080/01621459.1974.10482955>.

Version: 1.0.0
Depends: R (≥ 4.1.0)
Imports: dplyr, tibble, gt, flextable, officer, stats, ggplot2, tidyselect
Suggests: shiny, rstudioapi, rio, testthat (≥ 3.0.0), knitr, rmarkdown, pkgdown, webshot2
Published: 2026-09-21
DOI: 10.32614/CRAN.package.gtstats (may not be active yet)
Author: Rubeshkumar Polani ORCID iD [aut, cre], Mogan Kaviprawin ORCID iD [aut], Manikandanesan Sakthivel ORCID iD [aut], Salin K Eliyas ORCID iD [aut], Yuvaraj Krishnamoorthy ORCID iD [aut]
Maintainer: Rubeshkumar Polani <rubesh at thinkdenominator.com>
BugReports: https://github.com/thinkdenominator/gtstats/issues
License: MIT + file LICENSE
URL: https://gtstats.thinkdenominator.com/, https://github.com/ThinkDenominator/gtstats
NeedsCompilation: no
Citation: gtstats citation info
Materials: README, NEWS
CRAN checks: gtstats results

Documentation:

Reference manual: gtstats.html , gtstats.pdf
Vignettes: Birth-weight case study: from data to Table 1 (source, R code)
Citing gtstats (source, R code)
Summary Tables and Customisation (source, R code)
Function options (source, R code)
Start here: a simple gtstats workflow (source, R code)
Using the gtstats App (source, R code)
Inferential Tests and Assumptions (source, R code)
Missing data and denominators (source, R code)
Teaching datasets (source, R code)

Downloads:

Package source: gtstats_1.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=gtstats to link to this page.