TernTables
Publication-Ready Summary Tables and Statistical Testing for Clinical Research
Generates publication-ready summary tables for clinical research, supporting descriptive summaries and comparisons across two or three groups. The package streamlines the analytical workflow by detecting variable types and applying appropriate statistical tests (Welch t-test, Wilcoxon rank-sum, Welch ANOVA, Kruskal-Wallis, Chi-squared, or Fisher's exact test). Results are formatted as 'tibble' objects and can be exported to 'Word' or 'Excel' using the 'officer', 'flextable', and 'writexl' packages. Optional pairwise post-hoc testing for three-group comparisons (Games-Howell and Dunn's test) is available via the 'rstatix' package. Example data are derived from the landmark adjuvant colon cancer trial described in Moertel et al. (1990) <doi:10.1056/NEJM199002083220602>.
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
1.6.4 |
rolling linux/jammy R-4.5 | TernTables_1.6.4.tar.gz |
1.2 MiB |
1.6.4 |
rolling linux/noble R-4.5 | TernTables_1.6.4.tar.gz |
1.2 MiB |
1.6.4 |
rolling source/ R- | TernTables_1.6.4.tar.gz |
2.0 MiB |
1.6.4 |
latest linux/jammy R-4.5 | TernTables_1.6.4.tar.gz |
1.2 MiB |
1.6.4 |
latest linux/noble R-4.5 | TernTables_1.6.4.tar.gz |
1.2 MiB |
1.6.4 |
latest source/ R- | TernTables_1.6.4.tar.gz |
2.0 MiB |
1.6.4 |
2026-04-26 source/ R- | TernTables_1.6.4.tar.gz |
2.0 MiB |
1.6.4 |
2026-04-23 source/ R- | TernTables_1.6.4.tar.gz |
2.0 MiB |
1.6.4 |
2026-04-09 windows/windows R-4.5 | TernTables_1.6.4.zip |
1.2 MiB |