View source: R/dropUnanimous.r
| dropUnanimous | R Documentation |
Drop unanimous votes from rollcall objects and rollcall matrices.
dropUnanimous(obj, lop = 0)
obj |
object, either of class |
lop |
numeric, non-negative integer, less than number of
legislators represented in |
Unanimous votes are the equivalent of test items that all subjects score “correct” (or all subjects scores “incorrect”); since there is no variation among the legislators/subjects, these votes/items provide no information as to latent traits (ideology, preferences, ability). A reasonably large number of rollcalls in any contemporary U.S. Congress are unanimous.
Specific methods are provided for objects of class
rollcall or matrix.
A rollcall object or a matrix depending on
the class of object.
Simon Jackman simon.jackman@sydney.edu.au
dropRollCall,
rollcall, summary.rollcall, ideal
data(s109)
s109.working <- dropUnanimous(s109)
summary(s109.working)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.