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
  <https://doi.org/10.1017/9781108777919.022>.

A BibTeX entry for LaTeX users is

  @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},
  }

To cite the package itself:

  Coppock A (2026). _vayr: Extensions for 'ggplot2' to Visualize as You
  Randomize_. R package version 1.1.0,
  <https://alexandercoppock.com/vayr/>.

A BibTeX entry for LaTeX users is

  @Manual{vayr,
    title = {vayr: Extensions for 'ggplot2' to Visualize as You Randomize},
    author = {Alexander Coppock},
    year = {2026},
    note = {R package version 1.1.0},
    url = {https://alexandercoppock.com/vayr/},
  }
