Graphical Analysis of Variance Using ggplot2
Overview
Create what we call Elemental Graphics for display of anova results. The term elemental derives from the fact that each function is aimed at construction of graphical displays that afford direct visualizations of data with respect to the fundamental questions that drive the particular anova methods. This package represents a modification of the original granova package; the key change is to use 'ggplot2', Hadley Wickham's package based on Grammar of Graphics concepts (due to Wilkinson). The main function is granovagg.1w() (a graphic for one way ANOVA); two other functions (granovagg.ds() and granovagg.contr()) are to construct graphics for dependent sample analyses and contrast-based analyses respectively. (The function granova.2w(), which entails dynamic displays of data, is not currently part of 'granovaGG'.) The 'granovaGG' functions are to display data for any number of groups, regardless of their sizes (however, very large data sets or numbers of groups can be problematic). For granovagg.1w() a specialized approach is used to construct data-based contrast vectors for which anova data are displayed. The result is that the graphics use a straight line to facilitate clear interpretations while being faithful to the standard effect test in anova. The graphic results are complementary to standard summary tables; indeed, numerical summary statistics are provided as side effects of the graphic constructions. granovagg.ds() and granovagg.contr() provide graphic displays and numerical outputs for a dependent sample and contrast-based analyses. The graphics based on these functions can be especially helpful for learning how the respective methods work to answer the basic question(s) that drive the analyses. This means they can be particularly helpful for students and non-statistician analysts. But these methods can be of assistance for work-a-day applications of many kinds, as they can help to identify outliers, clusters or patterns, as well as highlight the role of non-linear transformations of data. In the case of granovagg.1w() and granovagg.ds() several arguments are provided to facilitate flexibility in the construction of graphics that accommodate diverse features of data, according to their corresponding display requirements. See the help files for individual functions.
granovaGG 1.4.1
- Change Software License to the MIT License (previously it was AGPL v2)
- Update
DESCRIPTIONincludingAuthors@Rto reflect best practices - Minor behind-the-scenes housekeeping changes
granovaGG 1.4.0
MAJOR CHANGES
- Fixed a typo on an alpha parameter in granovagg.ds that was giving unneeded grief. Many thanks to Jeremy Gray (@jeremycg) for raising the issue
- Fix bugs related to drawing CI Band, crossbow, trails, and shadows in granovagg.ds
MINOR CHANGES
- Stop importing datasets from MASS; instead put them directly in the package and document them locally
- Remove calls to unit(), which will help address issues like #164
Show all changes in 1.4.1Hide the rest of the changes in 1.4.1
granovaGG 1.2
MINOR CHANGES
- granovaGG now uses ggplot2 v0.92's theming system (<https://github.com/wch/ggplot2/wiki/New-theme-system>)
- geom_rug_alt() has been removed; we use the "sides" argument of geom_rug instead
granovaGG 1.1
MAJOR CHANGES
- granovaGG is compatible with both ggplot2 0.8.9 and ggplot2 0.9.0
- granovaGG now imports most of its dependencies through a NAMESPACE file, so most dependent packages are no longer loaded into the global namespace
MINOR CHANGES
- granovagg.ds provides printed summary output
- granovagg.ds handles axis reversal and visual padding arguments
- granovagg.1w provides better printed summary output, including linear model information
- Users can now suppress printed squares in granovagg.1w
- Printed squares in granovagg.1w now change color if F \> F_critical; previously they changed color if F \> 1.
granovaGG 1.0
NEW FEATURES
- ggplot2 implementations of three of the four graphical analysis of variance functions:
- .1w - elemental graphic for the one-way analysis of variance contr -
- .elemental graphic for observing contrast effects in one-way analysis of
- .variance ds - elemental graphic for dependent sample assessment
- Since the core functions can return ggplot2 objects (or a list of them, in the case of .contr) you can use the extensibility of ggplot2's grammar of graphics to customize your plots
- geom_rug_alt - an alternate ggplot2 geom for creating rugs whose tufts appear on the top and right of a graph, instead of the default bottom and left sides produced by geom_rug
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 12includes a package overview page
- Examples that run
- 100%3 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 83%
Also includes 3 demo scripts (run with demo())
Downloads
Repository
- PRs merged (all time)
- 80%
- Median days to close, 50 most recently updated closed issues
- 8
- Median days to close, 50 most recently updated closed PRs
- 5
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/briandk/granovagg on 2026-10-18.
The R CMD check workflow runs on macOS
Dependencies
Installing granovaGG adds 29 packages (15 with compiled code, 28 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, isoband 1.5 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- unarchivedReturned to CRAN2023-11-23
- archivedRemoved from CRAN2023-08-28email to the maintainer is undeliverable
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- RR 3.0.0 released · 2013-04-03
Show 12 earlier eventsHide 12 earlier events
Package metadata
- First published
- 2011-09-03
- Total releases
- 9 / 15 yrs
- License
- MIT + file LICENSE OSI · relicensed from GPL (>= 2) in 1.4.1
- Minimum R
- ≥ 2.14.0
- Bundled data
- 3.0 KB / 8 files
- Download size
- 42 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("granovaGG")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.