To cite package ‘weights’ in publications use:

Pasek J (2025). weights: Weighting and Weighted Statistics. R package version 1.1.2, https://CRAN.R-project.org/package=weights.

Corresponding BibTeX entry:

  @Manual{,
    title = {weights: Weighting and Weighted Statistics},
    author = {Josh Pasek},
    year = {2025},
    note = {R package version 1.1.2},
    url = {https://CRAN.R-project.org/package=weights},
  }