Skip to content
ggstatsplot needs insight, which CRAN will archive unless its check problems are fixed by Nov 14.

ggstatsplot

1.1.4Package record

'ggplot2' Based Plots with Statistical Details

4packages dependsuggested by 3
120Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Extension of 'ggplot2', 'ggstatsplot' creates graphics with details from statistical tests included in the plots themselves. It provides an easier syntax to generate information-rich plots for statistical analysis of continuous (violin plots, scatterplots, histograms, dot plots, dot-and-whisker plots) or categorical (pie and bar charts) data. Currently, it supports the most common types of statistical approaches and tests: parametric, nonparametric, robust, and Bayesian versions of t-test/ANOVA, correlation analyses, contingency table analysis, meta-analysis, and regression analyses. References: Patil (2021) doi:10.21105/joss.03167.

Changes in 1.1.4

BUG FIXES

  • ggdotplotstats() now labels the y axis with the name of the y variable when ylab = NULL (default), as documented. Previously, no y axis title was shown unless ylab was supplied.
  • ggcorrmat() now uses all numeric variables when cor.vars = NULL is passed explicitly, as documented, instead of failing with an error.
  • ggcorrmat() now shows a single sample size in the legend whenever all correlation pairs share the same sample size. Previously, missing values in any column, including non-numeric columns not used in the correlations, switched the legend to minimum, mode, and maximum sample sizes.
  • grouped_gghistostats() now computes its default common bin width from the non-missing values of x, as gghistostats() does. Previously, missing values were counted in the sample size, making the bins too narrow.
Show all changes in 1.1.4Hide the rest of the changes in 1.1.4
  • ggbarstats() no longer displays empty proportion test labels above the bars when x has only one level, matching ggpiestats().
  • gghistostats() and grouped_gghistostats() now draw the histogram when all values of x are identical (including a single observation). Previously, the default bin width was zero, so no bins were drawn.
  • ggbarstats() and ggpiestats() now show the test of independence in the subtitle when x or y has an empty level, such as an unused factor level. Previously, the subtitle was silently dropped. This fix comes from {statsExpressions}.
  • gghistostats() and ggdotplotstats() with a one-sided alternative now report a one-sided confidence interval for the effect size in the subtitle, matching the one-sided *p*-value. This fix comes from {statsExpressions}.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 11.6 min · r-devel-linux-x86_64-debian-clang
Status changes
  • OK13 OK2026-08-26
  • NOTE11 OK, 2 NOTE2026-07-16
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.1.4
READMEYes · 1,971 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 1.1.4Citation fileYes · cites a publicationWebsiteYes · pkgdown
Cites a JOSS paper
Help pages
26 (2 internal)includes a package overview page
Examples that run
100%25 run in a plain check (16 of them under a condition)
Exported functions with examples
100%
Documented parameters
89%
Return-value docs
100%
Help pages citing references
4%

Downloads

120K
CRAN downloads in the past year
Rank #1,332 · ~329/day · ~10K/mo
Daily download trend is not available in this view yet.
8.9K30 days
21.7K90 days
120K1 year
Compare downloads with other packages →
Also on1K r2u6.3K conda_forge

Repository

2,206Stars
199Forks
0Open issues
0Open PRs
56Releases
2,228Commits
12Commit identities
ggplot-extensiondatavizrstatistical-analysisdatasciencebayes-factorsregression-modelseffect-size
2,228 commits · Last activity 2026-10-22 · -0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
90%
Median days to close, 50 most recently updated closed issues
1,390
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-10-23 · 2,1182026-10-05 · 2,206
PracticesBeta

14 development-tooling and community-health practices detected across 9 families in the upstream repository

Checks run against github.com/indrajeetpatil/ggstatsplot on 2026-10-21.

Continuous integration (1)
GitHub Actions
Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-18

pkgdown site last built 2026-10-18, before release 1.1.4 (2026-10-22)

Coverage (1)
Coverage reporting
Reproducibility and dev environment (2)
data-raw/Makefile
Show all practicesHide 5 practices
CRAN release process (1)
cran-comments.md
Research and citation (1)
codemeta.json
Automation and maintenance (2)
Dependabotpre-commit
Lint, format, editor (2)
lintrAir
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • GitHub Copilotfirst seen 2025-08-20
    Seen in the repository: .github/prompts
    Pull request: opened by its own account
    Commits: 4 by its own account · at least 3 crediting it in the message
  • Claude Codefirst seen 2025-12-09
    Named in .Rbuildignore: .claude
    Named in .gitignore: .claude
    Pull request it wrote: opened by a project member
    Commits: at least 3 crediting it in the message
Shared conventions any agent may read, so they name no particular tool.
Seen in the repository: AGENTS.md, .agents, .agents/skills
Models named in its commits
  • Claude Opus 4.51 commit · Feb 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
37 external dependencies (excludes base and recommended)

Installing ggstatsplot adds 106 packages (50 with compiled code, 98 MB of source tarballs). Heaviest: stringi 11 MB, BayesFactor 6.1 MB, ggplot2 6.0 MB.

Depends (1)
R >= 4.5.0
LinkingTo (0)
none
Enhances (0)
none
Dependencies facing archival

CRAN will archive these unless their check problems are fixed by the date shown. This package needs each one to install.

Reverse dependencies
4direct
0indirect
Imports 4
Suggested by 3
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (1)
Maintainer since 0.0.1 (2018), Author, Copyright holder
Listed in earlier versions (1)
no longer listed · 0.0.6 to 0.13.3
Releases (58)

Pick two releases to compare their code metrics.

  • 1.1.4Latest
    record
    2026-10-22 · current release · diff ↗ ·
    listed once in CRAN's queue
    Seen in one reading of CRAN's incoming queue, at 2026-10-22 12:59 UTC, so it stayed less than the time between readings.
  • 1.1.3
    record
    2026-10-17 · diff ↗ ·
    listed once in CRAN's queue
    Seen in one reading of CRAN's incoming queue, at 2026-10-17 17:40 UTC, so it stayed less than the time between readings.
  • 1.1.2
    record
    2026-10-09 · diff ↗
  • 1.1.1
    record
    2026-08-22 · diff ↗
  • 1.1.0
    record
    2026-08-22 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.0
    record
    2026-04-23 · diff ↗ ·
    removed 2 exports
    %>%, pairwise_comparisons
  • 0.13.6
    record
    2026-04-06 · diff ↗
  • 0.13.5
    record
    2026-02-06 · diff ↗
  • 0.13.4
    record
    2025-12-09 · diff ↗
  • 0.13.3
    record
    2025-10-05 · diff ↗
  • 0.13.2
    record
    2025-09-11 · diff ↗
  • 0.13.1
    record
    2025-05-10 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.13.0
    record
    2024-12-04 · diff ↗
  • 0.12.5
    record
    2024-11-01 · diff ↗
Show 52 earlier eventsHide 52 earlier events
  • 0.12.4
    record
    2024-07-06 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.12.3
    record
    2024-04-06 · diff ↗
  • 0.12.2
    record
    2024-01-14 · diff ↗
  • 0.12.1
    record
    2023-09-21 · diff ↗
  • 0.12.0
    record
    2023-08-07 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.11.1
    record
    2023-04-14 · diff ↗
  • 0.11.0
    record
    2023-02-15 · diff ↗
  • 0.10.0
    record
    2022-11-27 · diff ↗ ·
    added 2 exports
    extract_caption, extract_subtitle
  • 0.9.5
    record
    2022-10-16 · diff ↗ ·
    removed 11 exports
    !!!, !!, %$%, %<-%, %<>%, %|%, %||%, :=, as_tibble, exec, tibble
  • 0.9.4
    record
    2022-08-11 · diff ↗
  • 0.9.3
    record
    2022-05-27 · diff ↗
  • 0.9.2
    record
    2022-05-21 · diff ↗ ·
    removed 1 export
    enframe
  • R
    R 4.2.0 released · 2022-04-22
  • 0.9.1
    record
    2022-01-15 · diff ↗
  • 0.9.0
    record
    2021-10-19 · diff ↗ ·
    added 7 exports
    !!!, !!, %|%, %||%, :=, exec, pairwise_comparisons
  • 0.8.0
    record
    2021-06-09 · diff ↗ ·
    removed 2 exports
    theme_corrmat, theme_pie
    added 1 export
    extract_stats
  • R
    R 4.1.0 released · 2021-05-18
  • 0.7.2
    record
    2021-04-12 · diff ↗
  • 0.7.1
    record
    2021-03-12 · diff ↗ ·
    removed 1 export
    correlation
  • 0.7.0
    record
    2021-02-19 · diff ↗ ·
    removed 1 export
    combine_plots2
    added 1 export
    correlation
  • 0.6.8
    record
    2021-01-19 · diff ↗
  • 0.6.6
    record
    2020-12-03 · diff ↗ ·
    removed 3 exports
    %|%, %||%, set_cwd
  • 0.6.5
    record
    2020-10-31 · diff ↗ ·
    removed 2 exports
    signif_column, specify_decimal_p
  • 0.6.1
    record
    2020-10-06 · diff ↗ ·
    removed 2 exports
    pairwise_comparisons, pairwise_p
  • 0.6.0
    record
    2020-09-13 · diff ↗ ·
    added 1 export
    enframe
  • 0.5.0
    record
    2020-05-30 · diff ↗ ·
    removed 2 exports
    bartlett_message, normality_message
  • R
    R 4.0.0 released · 2020-04-24
  • 0.4.0
    record
    2020-04-15 · diff ↗ ·
    removed 3 exports
    augment, glance, tidy
  • 0.3.1
    record
    2020-03-07 · diff ↗
  • 0.3.0
    record
    2020-03-01 · diff ↗ ·
    removed 1 export
    ggplot_converter
    added 5 exports
    %<-%, augment, combine_plots2, glance, tidy
  • 0.2.0
    record
    2020-02-03 · diff ↗ ·
    removed 6 exports
    bf_meta_message, ggwithinstats_switch, lm_effsize_ci, subtitle_meta_ggcoefstats, subtitle_meta_parametric, theme_mprl
    added 1 export
    pairwise_comparisons
  • 0.1.4
    record
    2019-12-18 · diff ↗ ·
    added 1 export
    pairwise_p
  • 0.1.3
    record
    2019-11-21 · diff ↗ ·
    removed 5 exports
    `%$%`, `%<>%`, `%>%`, `%|%`, `%||%`
    added 5 exports
    %$%, %<>%, %>%, %|%, %||%
  • 0.1.2
    record
    2019-09-17 · diff ↗ ·
    removed 5 exports
    %$%, %<>%, %>%, %|%, %||%
    added 5 exports
    `%$%`, `%<>%`, `%>%`, `%|%`, `%||%`
  • 0.1.1
    record
    2019-08-30 · diff ↗ ·
    removed 23 exports
    bf_caption_maker, bf_contingency_tab, bf_corr_test, bf_extractor, bf_one_sample_ttest, bf_oneway_anova, bf_ttest, bf_two_sample_ttest, pairwise_p, subtitle_anova_bayes, subtitle_anova_nonparametric, subtitle_anova_parametric, subtitle_anova_robust, subtitle_contingency_tab, subtitle_ggscatterstats, subtitle_mann_nonparametric, subtitle_onesample_proptest, subtitle_t_bayes, subtitle_t_nonparametric, subtitle_t_onesample, subtitle_t_parametric, subtitle_t_robust, subtitle_template
    added 4 exports
    %|%, %||%, as_tibble, subtitle_meta_parametric
  • 0.0.12
    record
    2019-07-12 · diff ↗ ·
    removed 1 export
    outlier_df
    added 2 exports
    bf_ttest, ggwithinstats_switch
  • 0.0.11
    record
    2019-06-14 · diff ↗ ·
    removed 2 exports
    subtitle_friedman_nonparametric, subtitle_kw_nonparametric
    added 4 exports
    bf_meta_message, ggwithinstats, grouped_ggwithinstats, subtitle_anova_nonparametric
  • R
    R 3.6.0 released · 2019-04-26
  • 0.0.10
    record
    2019-03-17 · diff ↗ ·
    added 1 export
    outlier_df
  • 0.0.9
    record
    2019-02-18 · diff ↗ ·
    added 3 exports
    ggbarstats, ggplot_converter, grouped_ggbarstats
  • 0.0.8
    record
    2019-01-07 · diff ↗ ·
    added 3 exports
    bf_caption_maker, subtitle_meta_ggcoefstats, subtitle_template
  • 0.0.7
    record
    2018-12-08 · diff ↗ ·
    removed 10 exports
    subtitle_contigency_tab, subtitle_ggbetween_anova_parametric, subtitle_ggbetween_kw_nonparametric, subtitle_ggbetween_mann_nonparametric, subtitle_ggbetween_rob_anova, subtitle_ggbetween_t_bayes, subtitle_ggbetween_t_parametric, subtitle_ggbetween_t_rob, subtitle_onesample, untable
    added 27 exports
    %$%, %<>%, bf_contingency_tab, bf_corr_test, bf_extractor, bf_one_sample_ttest, bf_oneway_anova, bf_two_sample_ttest, ggdotplotstats, grouped_ggdotplotstats, lm_effsize_ci, pairwise_p, set_cwd, subtitle_anova_bayes, subtitle_anova_parametric, subtitle_anova_robust, subtitle_contingency_tab, subtitle_friedman_nonparametric, subtitle_kw_nonparametric, subtitle_mann_nonparametric, subtitle_t_bayes, subtitle_t_nonparametric, subtitle_t_onesample, subtitle_t_parametric, subtitle_t_robust, theme_corrmat, theme_pie
  • 0.0.6
    record
    2018-10-01 · diff ↗ ·
    added 15 exports
    bartlett_message, normality_message, signif_column, subtitle_contigency_tab, subtitle_ggbetween_anova_parametric, subtitle_ggbetween_kw_nonparametric, subtitle_ggbetween_mann_nonparametric, subtitle_ggbetween_rob_anova, subtitle_ggbetween_t_bayes, subtitle_ggbetween_t_parametric, subtitle_ggbetween_t_rob, subtitle_ggscatterstats, subtitle_onesample, subtitle_onesample_proptest, untable
  • 0.0.5
    record
    2018-08-14 · diff ↗ ·
    added 1 export
    theme_ggstatsplot
  • 0.0.4
    record
    2018-07-05 · diff ↗ ·
    added 2 exports
    ggcoefstats, tibble
  • 0.0.3
    record
    2018-05-22 · diff ↗ ·
    added 4 exports
    grouped_ggbetweenstats, grouped_ggcorrmat, grouped_ggpiestats, grouped_ggscatterstats
  • 0.0.2
    record
    2018-04-28 · diff ↗ ·
    added 1 export
    grouped_gghistostats
  • R
    R 3.5.0 released · 2018-04-23
  • 0.0.1
    record
    2018-04-03
  • R
    R 3.4.0 released · 2017-04-21
Across CRAN, the median accepted release of the past year spent 26 hours in the queue, 90% under 11 days.How queue time is measured

Package metadata

First published
2018-04-03
Total releases
58 / 8 yrs
License
MIT + file LICENSE OSI · relicensed from GPL-3 | file LICENSE in 0.13.1
Minimum R
≥ 4.5.0
Bundled data
37 KB / 4 files
Download size
4.1 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("ggstatsplot")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.21105/joss.03167.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for ggstatsplot version 1.1.4 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy