Skip to content

ggpval

Annotate Statistical Tests for 'ggplot2'

v0.2.5 · Jul 11, 2022 · GPL-3

Description

Automatically performs desired statistical tests (e.g. wilcox.test(), t.test()) to compare between groups, and adds the resulting p-values to the plot with an annotation bar. Visualizing group differences are frequently performed by boxplots, bar plots, etc. Statistical test results are often needed to be annotated on these plots. This package provides a convenient function that works on 'ggplot2' objects, performs the desired statistical test between groups of interest and annotates the test results on the plot.

Downloads

291

Last 30 days

14123rd

838

Last 90 days

5.7K

Last year

Trend: +3.9% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies ggplot2 data.table ggpval

Version History

new 0.2.5 Mar 10, 2026
updated 0.2.5 ← 0.2.4 diff Jul 10, 2022
updated 0.2.4 ← 0.2.3 diff Nov 21, 2020
updated 0.2.3 ← 0.2.2 diff Sep 9, 2019
updated 0.2.2 ← 0.2.1 diff Jul 3, 2019
updated 0.2.1 ← 0.2.0 diff Jul 20, 2018
updated 0.2.0 ← 0.1.0 diff Jul 25, 2017
new 0.1.0 Jun 12, 2017