EasyStat
2.0.0Automated Statistical Analysis, Visualization and Multi-Format Narrative Reporting
Overview
Provides automated statistical analysis, rich visualization, and multi-format narrative reporting through a unified pipeline. Descriptive statistics are available via easy_describe() and easy_group_summary(). Inferential tests with plain-language narratives are provided by easy_regression(), easy_logistic_regression(), easy_ttest(), easy_anova(), easy_chisq(), easy_ztest(), easy_ftest(), easy_correlation(), easy_wilcox(), and easy_kruskal(). Publication-ready 'ggplot2' visualizations are produced by easy_histogram(), easy_boxplot(), easy_scatter(), easy_barplot(), easy_qqplot(), easy_density(), easy_correlation_heatmap(), easy_regression_diagnostics(), and easy_odds_ratio_plot(). The core Narrative Generator Module applies conditional logic to extracted p-values, effect sizes, and model-fit metrics to produce statistically sound, human-readable explanations automatically. Results render in the 'RStudio' Viewer (HTML), the console (ASCII), or export directly to Microsoft Word via 'flextable' and 'officer'.
New Features
- Added
easy_logistic_regression()for binary logistic regression with odds ratios, approximate odds-ratio confidence intervals, likelihood-ratio model tests, McFadden pseudo-R2, and automated narrative reporting. - Added richer supporting tables:
- ANOVA now includes group descriptives, assumption checks, and Tukey post-hoc comparisons.
- Chi-square tests now include observed contingency tables, expected counts, row percentages, column percentages, and total percentages.
- Regression now includes ANOVA, diagnostic, and influential-observation tables.
- Added
easy_wilcox()andeasy_kruskal()for common non-parametric workflows.
Show all changes in 2.0.0Hide the rest of the changes in 2.0.0
- Added regression figures:
easy_regression_diagnostics()andeasy_odds_ratio_plot(). - Added comprehensive descriptive statistics:
easy_describe()andeasy_group_summary()with 21 statistics per variable (mean, median, mode, SD, variance, skewness, kurtosis, normality test, CI, and more). - Extended inferential test suite with four new functions:
easy_chisq(): Chi-square test of independence and goodness-of-fit, with Cramér's V effect size.easy_ztest(): One- and two-sample z-tests with Cohen's d.easy_ftest(): Levene-style F-test for equality of variances viastats::var.test(), with variance ratio CI.easy_correlation(): Pearson/Spearman/Kendall bivariate and pairwise matrix correlation with confidence intervals.- New visualization functions (all return
easystat_resultobjects with plain-language interpretations): easy_histogram(): distribution histogram with normal-curve overlay.easy_boxplot(): grouped box-and-whisker plots with outlier marking.easy_scatter(): scatter plot with regression line and R-squared label.easy_barplot(): count or mean (+/- SE) bar charts with group support.easy_qqplot(): Q-Q normality plot.easy_density(): kernel density curve, optionally grouped.easy_correlation_heatmap(): annotated pairwise correlation heatmap.easy_autoplot(): smart dispatcher that picks the right plot type for a giveneasystat_result.- New theme:
theme_easystat()— a professional ggplot2 theme and color system applied uniformly across all visualization functions. - Word export:
export_to_word()creates a fully formatted.docxreport (viaflextableandofficer) with title, authors, narrative, and tables.
Improvements
- User-facing p-values now display as percentages rounded to 4 decimal places across result tables, plot summaries, and narrative text.
- Narrative Generator Module expanded with 15 conditional narrative templates covering all new test and plot types.
- All functions return a unified
easystat_resultS3 object with consistent fields:test_type,formula_str,raw_model,coefficients_table,model_fit_table, andexplanation. - HTML Viewer output (
print.easystat_result) redesigned with improved typography and responsive layout.
---
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK5 OK2026-04-30
Documentation
- Help pages
- 27includes a package overview page
- Examples that run
- 92%12 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 54%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 9
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Issues over time
5 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/itsmdivakaran/easystat on 2026-10-11.
GitHub Pages site last deployed 2026-06-28
pkgdown site last built 2026-06-28
Dependencies
Installing EasyStat adds 72 packages (41 with compiled code, 66 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
CRAN will archive these unless their check problems are fixed by the date shown. This package needs each one to install.
- flextablefix by Oct 22
Code & Tests
People & History
- 2.0.0Latest2026-04-29 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-04-29
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 428 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("EasyStat")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.