agregR: Bayesian State-Space Aggregation of Brazilian Presidential Polls

A set of dynamic measurement models to estimate latent vote shares from noisy polling sources. The models build on Jackman (2009, ISBN: 9780470011546) and feature specialized methods for bias adjustment based on past performance and correction for asymmetric errors based on candidate political alignment.

Version: 1.0.3
Depends: R (≥ 4.1.0), ggdist (≥ 3.1.0)
Imports: instantiate, tibble, dplyr, tidyr, purrr, readr, stringr, tidyselect, ggplot2, scales, lubridate, cli, ragg, sysfonts, showtext, stringi, grid, systemfonts
Suggests: bayesplot, cmdstanr (≥ 0.5.0), testthat (≥ 3.0.0)
Published: 2026-03-06
DOI: 10.32614/CRAN.package.agregR (may not be active yet)
Author: Rafael N. Magalhães [aut, cre]
Maintainer: Rafael N. Magalhães <rnunesmagalhaes at gmail.com>
License: MIT + file LICENSE
URL: https://rnmag.github.io/agregR/, https://github.com/rnmag/agregR
NeedsCompilation: yes
SystemRequirements: CmdStan (https://mc-stan.org/users/interfaces/cmdstan)
Additional_repositories: https://mc-stan.org/r-packages/
Materials: README, NEWS
CRAN checks: agregR results

Documentation:

Reference manual: agregR.html , agregR.pdf

Downloads:

Package source: agregR_1.0.3.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=agregR to link to this page.