powered by
gallagher(v, s, ...)gallagher(v, s, ...)
gallagher(v, s, ...)
cox.shugart
inv.cox.shugart
politicalDiversity
grofman
farina
lijphart
vignette("Indices", package = "SciencesPo")
# 2012 Queensland state elecion pvotes= c(49.65, 26.66, 11.5, 7.53, 3.16, 1.47) pseats = c(87.64, 7.87, 2.25, 0.00, 2.25, 0.00) gallagher(pvotes, pseats)
Run the code above in your browser using DataLab