PartySystemIndices: Rae fractionalization, Laakso-Taagepera and
Golosov effective numbers. PartyDivergence: differences of party
means and medians, overlap, and Rice cohesion. RollcallMatrix:
legislator x vote matrix with Voteview codes. RollcallSummary: yeas,
nays, minority shares, margins, participation. RollcallFilter:
wnominate-style lopsided-vote and participation filtering (indices
returned 1-based).
Usage
PartySystemIndices(shares)
PartyDivergence(positions, party, left, right, votes = NULL)
RollcallMatrix(legislator, vote, choice, yea = 1:3, nay = 4:6)
RollcallSummary(matrix)
RollcallFilter(matrix, lop = 0.025, minvotes = 20)Arguments
Vote or seat shares.
- positions
Ideal points.
- party
Party labels.
- left, right
Labels of the two parties.
- votes
Legislators x roll calls matrix (1 yea, 0 nay,
NA).- legislator, vote, choice
Long-format records.
- yea, nay
Codes counted as yea and nay.
- matrix
Roll-call matrix.
- lop
Minimum minority share.
- minvotes
Minimum votes per legislator.
