SciencesPo (version 1.3.8)

lijphart: Lijphart index of proportionality

Description

Calculates the Lijphart index of proportionality based on a vector of votes and a vector for the electoral outcome.

Usage

lijphart(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.