vectorRepresentation(object, dropList = list(codes = c("missing", "notInLegis")))rollcalldropList; see dropRollCallmatrix with z rows, where z is the
number of non-missing entries in object$votes, with
codes component of the
dropList. The matrix has 3 columns:1 if the
corresponding element of the roll call matrix object$votes
is in the yea component of object$codes, or a 0
if the corresponding element of the roll call matrix is in the
nay component of object$codes. Non-missing entries of
the roll call matrix are not stored.object$votes that
supplied the voting decision; i.e., a unique identifier for the
legislator generating this voteobject$votes that
supplied the vote; i.e., a unique identifier for the vote.rollcalldata(s109)
y <- vectorRepresentation(s109)
apply(y,2,table,exclude=NULL)Run the code above in your browser using DataLab