An object of class rollcall
, a list with the following components:
votesa matrix
containing voting decisions, with
rows corresponding to legislators (test subjects) and columns to
roll call votes (test items). Legislators (test subjects)
and items (or votes) have been labeled in the
dimnames
attribute of this matrix, using
the legis.names
and/or vote.names
arguments, respectively.
codesa list
with named components yea
,
nay
, notInLegis
and missing
, each component a
numeric vector (possibly of length 1 and possibly NA
),
indicating how entries in the votes
component of the
rollcall
object should be considered. This list simply gathers
up the values in the yea
, nay
, notInLegis
and
missing
arguments passed to the function.
nnumeric, number of legislators, equal to dim(votes)[1]
mnumeric, number of votes, equal to dim(votes)[2]
legis.datauser-supplied data on legislators/test-subjects.
vote.datauser-supplied data on rollcall votes/test-items.
descany user-supplied description. If no description was provided,
defaults desc
defaults to NULL
.
sourceany user-supplied source information (e.g., a url or a
short-form reference). If no description is provided, source
defaults to NULL
.