Skip to content

ggstatsplot

1.1.3Package record

'ggplot2' Based Plots with Statistical Details

4packages dependsuggested by 3
119.1Kdownloads / 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.3

BUG FIXES

  • ggwithinstats() now drops subjects with missing values in any condition from the plot as well when subject.id is supplied, so the plotted data, centrality labels, and sample size labels match the statistical results (previously, partially observed subjects were still plotted).
  • ggwithinstats() now gives an informative error when a subject.id value appears more than once within a level of x, instead of silently dropping the subtitle or failing deep inside the statistical tests.
  • ggwithinstats() with type = "robust" now reports the correct Algina-Keselman-Penfield effect size and confidence interval in the subtitle (e.g., 0.32 instead of 0.66 for bugs_long). This fix comes from {statsExpressions}, which previously treated its internal row identifier as an extra condition.
Show all changes in 1.1.3Hide the rest of the changes in 1.1.3
  • ggcoefstats() no longer errors with only.significant = TRUE when no term is significant; the plot is drawn without stats labels instead.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 12.1 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.3
READMEYes · 2,143 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 1.1.3Citation 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

119.1K
CRAN downloads in the past year
Rank #1,391 · ~326/day · ~9.9K/mo
Daily download trend is not available in this view yet.
6.8K30 days
19.6K90 days
119.1K1 year
Compare downloads with other packages →
Also on1K r2u6.3K conda_forge

Repository

2,206Stars
201Forks
0Open issues
2Open PRs
55Releases
2,214Commits
12Commit identities
ggplot-extensiondatavizrstatistical-analysisdatasciencebayes-factorsregression-modelseffect-size
2,214 commits · Last activity 2026-10-17 · +0.1% 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-17 · 2,1172026-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-11.

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

GitHub Pages site last deployed 2026-10-11

pkgdown site last built 2026-10-11, before release 1.1.3 (2026-10-17)

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 v3 (2026-09-26)
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
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 (57)

Pick two releases to compare their code metrics.

Show 51 earlier eventsHide 51 earlier events
  • 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 19 hours in the queue, 90% under 11 days.How queue time is measured

Package metadata

First published
2018-04-03
Total releases
57 / 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.3 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, 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