Calculates the Grofman index of proportionality based on a vector of votes and a vector for the electoral outcome.
Usage
grofman(v, s)
Arguments
v
A vector containing the votes for each political party.
s
A vector containing the election outcome as seats.
Value
A single score given the vector of votes and the vector for seats.
References
Taagepera, R., and B. Grofman. Mapping the indices of seats-votes disproportionality and inter-election volatility. Party Politics 9, no. 6 (2003): 659-77.