powered by
lijphart(v, s, ...)lijphart(v, s, ...)
lijphart(v, s, ...)
cox.shugart
inv.cox.shugart
politicalDiversity
grofman
gallagher
farina
vignette("Indices", package = "SciencesPo")
# 2012 Quebec provincial election: pvotes = c(PQ=31.95, Lib=31.20, CAQ=27.05,QS=6.03,Option=1.89, Other=1.88) pseats = c(PQ=54, Lib=50, CAQ=19, QS=2, Option=0, Other=0) lijphart(pvotes, pseats)
Run the code above in your browser using DataLab