Learn R Programming

anominate (version 0.7)

sen111: 111th U.S. Senate Roll Call Vote Matrix

Description

This dataframe contains a matrix of votes cast by U.S. Senators in the 111th Congress. The data are formatted consistent with the rollcall object format in Simon Jackman's pscl package.

Usage

data(sen111)

Arguments

Value

The dataframe contains roll call data for all Senators in the 111th Senate. The data is formatted as a rollcall object with the following elements.

votes

data frame, containing all data from the old nom31.dat file about legislators. For a typical W-NOMINATE object run with an ORD file read using readKH, it will contain the following:

state

State name of legislator.

icpsrState

ICPSR state code of legislator.

cd

Congressional District number.

icpsrLegis

ICPSR code of legislator.

party

Party of legislator.

partyCode

ICPSR party code of legislator.

codes

list of four vectors. yea shows the codes in votes that are yea votes, 'nay' shows nay codes, notInLegis shows absences, and missing shows the missing codes.

n

numeric, number of legislators

m

numeric, number of roll calls

legis.data

data frame, containing the following information on legislators:

state

State name of legislator.

icpsrState

ICPSR state code of legislator.

cd

Congressional District number.

icpsrLegis

ICPSR code of legislator.

party

Party of legislator.

partyCode

ICPSR party code of legislator.

vote.data

null, would otherwise be a data frame containing data on the votes.

desc

null, would otherwise be a string describing the data set.

source

string, describing where data set was read from.

Author

Royce Carroll rcarroll@rice.edu

Christopher Hare cdhare@ucdavis.edu

Jeffrey B. Lewis jblewis@ucla.edu

James Lo lo@uni-mannheim.de

Keith T. Poole ktpoole@uga.edu

Howard Rosenthal hl31@nyu.edu

See Also

'anominate'.

Examples

Run this code
  data(sen111)
  summary(sen111)
   
  # \donttest{
  sen111_anom <- anominate(sen111, dims=1, polarity=2, 
    nsamp=200, thin=1, burnin=100, random.starts=FALSE, 
    verbose=FALSE, constrain=FALSE)
  # }
  # 'sen111_anom' can be retrieved quickly with: 
  data(sen111_anom)

  summary(sen111_anom)
  plot(sen111_anom)

Run the code above in your browser using DataLab