make.sample.from.totals | R Documentation |
Given a vector of precinct totals and the total votes for the winner and the loser, make a plausible precinct-by-precinct vote count that works. Note: the margins of the precincts will all be the same as the margin of the overall race.
make.sample.from.totals(vote.W, vote.L, totals)
vote.W |
Total votes for winner. |
vote.L |
Total votes for loser. |
totals |
Vector of total votes for precincts. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.