The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

vayr: Extensions for 'ggplot2' to Visualize as You Randomize

Extensions for 'ggplot2' that implement the "visualize as you randomize" principles of Coppock (2021) <doi:10.1017/9781108777919.022>, which can be especially useful when plotting experimental data. Provides position adjustments that arrange over-plotted points so that a statistical model can be shown in data-space, and a helper for graphing extreme value bounds when an experiment encounters attrition.

Version: 1.1.0
Depends: R (≥ 4.1.0)
Imports: ggplot2 (≥ 3.0.0), packcircles (≥ 0.3.7), withr (≥ 2.1.1)
Suggests: dplyr, estimatr, knitr, marginaleffects, patchwork, randomizr, rmarkdown, sessioninfo, testthat, tibble, tidyr, tidyverse
Published: 2026-08-21
DOI: 10.32614/CRAN.package.vayr
Author: Alexander Coppock ORCID iD [aut, cre, cph], Elias Hyde [ctb]
Maintainer: Alexander Coppock <acoppock at gmail.com>
License: GPL-2 | file LICENSE
URL: https://alexandercoppock.com/vayr/
NeedsCompilation: no
Citation: vayr citation info
Materials: README, NEWS
CRAN checks: vayr results

Documentation:

Reference manual: vayr.html , vayr.pdf
Vignettes: Design-based graphs for seven experiments (source, R code)
Visualize as you randomize (source, R code)

Downloads:

Package source: vayr_1.1.0.tar.gz
Windows binaries: r-devel: vayr_1.1.0.zip, r-release: vayr_1.1.0.zip, r-oldrel: vayr_1.1.0.zip
macOS binaries: r-release (arm64): vayr_1.1.0.tgz, r-oldrel (arm64): vayr_1.1.0.tgz, r-release (x86_64): vayr_1.1.0.tgz, r-oldrel (x86_64): vayr_1.1.0.tgz
Old sources: vayr archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=vayr to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.