Learn R Programming

wnominate (version 1.2)

sen90: 90th U.S. Senate Roll Call Vote Matrix

Description

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

Usage

data(sen90)

Arguments

Value

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

Source

Keith Poole. 2005. 90th Senate Roll Call Vote Data. http://www.voteview.com/.

See Also

'wnominate'.

Examples

Run this code
    #This data file is the same as reading file using:
    #sen90 <- readKH("ftp://voteview.com/sen90kh.ord")
    #All ORD files can be found on www.voteview.com
    data(sen90)
    
    summary(sen90)
    #sen90wnom <- wnominate(sen90,polarity=c(2,5))
    #'sen90wnom' is the same nomObject as found in 
    data(sen90wnom)
    summary(sen90wnom)
    plot(sen90wnom)

Run the code above in your browser using DataLab