To cite randomizr in a publication, cite the package itself. The design framework it belongs to is described in Blair et al. (2019). The algorithms behind particular functions are cited on their own help pages; see ?balanced_ra in particular.
Coppock A (2026). randomizr: Easy-to-Use Tools for Common Forms of Random Assignment and Sampling. R package version 2.0.1, https://declaredesign.org/r/randomizr/.
Blair G, Cooper J, Coppock A, Humphreys M (2019). “Declaring and Diagnosing Research Designs.” American Political Science Review, 113(3), 838–859. doi:10.1017/S0003055419000194.
Corresponding BibTeX entries:
@Manual{,
title = {randomizr: Easy-to-Use Tools for Common Forms of Random
Assignment and Sampling},
author = {Alexander Coppock},
year = {2026},
note = {R package version 2.0.1},
url = {https://declaredesign.org/r/randomizr/},
}
@Article{,
title = {Declaring and Diagnosing Research Designs},
author = {Graeme Blair and Jasper Cooper and Alexander Coppock and
Macartan Humphreys},
journal = {American Political Science Review},
year = {2019},
volume = {113},
number = {3},
pages = {838--859},
doi = {10.1017/S0003055419000194},
}