View source: R/elec_functions.R
fractionOfVotesBound | R Documentation |
WPM. The maximum error of the unit is a fixed percentage of the total votes cast in the unit. Typically the 20% WPM is used–meaning a swing of 40% is the largest error possible as 20% of the votes go from the winner to the loser.
fractionOfVotesBound(Z, frac = 0.4)
Z |
The elec.data object. |
frac |
Fraction of total votes that could be a winner overstatement/loser understatement. So if the worst-case is a 20% flip then enter 0.4 |
maximumMarginBound
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.