Functions to simulate and estimate Mexican election results based on a simple or stratified random sample, the functions were used, among other methodologies, to anticipate the final results of the 2021 Mexican elections.
You can install the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("cotecora-team-2/quickcountmx")
Basic examples:
library(quickcountmx)
## basic example code