To cite the principles that 'vayr' implements:

Coppock A (2021). “Visualize As You Randomize: Design-based Statistical Graphs for Randomized Experiments.” In Druckman J, Green D (eds.), Advances in Experimental Political Science, 320–336. Cambridge University Press, New York. doi:10.1017/9781108777919.022.

To cite the package itself:

Coppock A, Hyde E (2025). vayr: Extensions for 'ggplot2' to Visualize as You Randomize. R package version 1.1.0, https://CRAN.R-project.org/package=vayr.

Corresponding BibTeX entries:

  @InCollection{,
    title = {Visualize As You Randomize: Design-based Statistical
      Graphs for Randomized Experiments},
    author = {Alexander Coppock},
    booktitle = {Advances in Experimental Political Science},
    editor = {James N. Druckman and Donald P. Green},
    publisher = {Cambridge University Press},
    address = {New York},
    year = {2021},
    pages = {320--336},
    doi = {10.1017/9781108777919.022},
  }
  @Manual{,
    title = {vayr: Extensions for 'ggplot2' to Visualize as You
      Randomize},
    author = {Alexander Coppock and Elias Hyde},
    year = {2025},
    note = {R package version 1.1.0},
    url = {https://CRAN.R-project.org/package=vayr},
  }