Description Usage Arguments Value Methods (by class) Examples
Transform into rollcall object
1 2 3 4 | as.rollcall(x, ...)
## S3 method for class 'voteList'
as.rollcall(x, yea = 1, nay = 0, missing = c(3, 7, 8), notInLegis = 9, ...)
|
x |
Object to be transformed |
... |
Other parameters (ignored) |
yea |
numeric, possibly a vector, code(s) for a Yea vote. Default is 1. |
nay |
numeric, possibly a vector, code(s) for a Nay vote. Default is 0. |
missing |
numeric or NA, possibly a vector, code(s) for missing data. Default is NA. |
notInLegis |
numeric or NA, possibly a vector, code(s) for the legislator not being in the legislature when a particular roll call was recorded (e.g., deceased, retired, yet to be elected). |
Rollcall object from package 'pscl'
voteList
: Transform voteList object into rollcall object
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.