Learn R Programming

pscl (version 0.5)

dropUnanimous.rollcall: drop unanimous votes from rollcall objects

Description

drop unanimous votes from rollcall objects.

Usage

## S3 method for class 'rollcall':
dropUnanimous(obj, lop = 0)

Arguments

obj
object of class rollcall
lop
numeric, non-negative integer, less than number of legislators represented in obj. Roll calls with lop or fewer legislators voting in the minority are dropped.

Value

Details

This function is a wrapper to dropRollCall with the lop component of dropList set to the value of lop specified in dropUnanimous.

See Also

dropUnanimous.matrix, dropRollCall, rollcall, summary.rollcall, ideal

Examples

Run this code
data(s109)

## the following two lines yield an identical rollcall object
s109.working <- dropUnanimous(s109)
s109.working
s109.working <- dropRollCall(s109,dropList=list(lop=0))
s109.working

Run the code above in your browser using DataLab