Functions to simulate and estimate Mexican election results based on a random sample, the functions were used, among other methodologies, to anticipate the final results of the 2021 Mexican elections.
Other
21
stars
9
forks
source link
Split computation of percent of national vote and of seats #75
In this part compute prop for all parties and return two separate tables
https://github.com/cotecora-team-2/quickcountmx/blob/4f73076893ab679fefd326fadbd328aa3400fabb/R/ratio_estimation.R#L408C1-L414C14
CC: @ammadrigal @felipegonzalez