To cite package ‘agregR’ in publications use:

Magalhães R (2026). agregR: Bayesian State-Space Aggregation of Brazilian Presidential Polls. R package version 1.0.3, https://github.com/rnmag/agregr.

Corresponding BibTeX entry:

  @Manual{,
    title = {agregR: Bayesian State-Space Aggregation of Brazilian
      Presidential Polls},
    author = {Rafael N. Magalhães},
    year = {2026},
    note = {R package version 1.0.3},
    url = {https://github.com/rnmag/agregr},
  }