rcx | R Documentation |
A data frame with variables relating to legislator ideology
data(rcx)
A data frame with the following variables:
Congress
Legislator ID
Legislator's state (numeric code)
Congressional district
Legislator's state (name)
Legislator's political party
Legislator's name
DW-Nominate first dimension score.
DW-Nominate second dimension score.
DW-Nominate first dimension bootstrapped standard error
DW-Nominate second dimension bootstrapped standard error
Log-likelihood
Number of votes
Number of errors
We generated the data by doing the following:
rcx.file <- system.file("HL01111E21_PRES.DAT", package="asmcjr")
rcx.fields <- c("cong","id","state","dist","lstate","party","name",
"dwnom1","dwnom2","dwnom1bse","dwnom2bse","corrbse","LogL",
"nchoice","nerror","gmp")
rcx.fieldWidths <- c(4,6,3,2,9,4,12,7,7,7,7,7,12,5,6,6)
rcx <- read.fwf(file=rcx.file,widths=rcx.fieldWidths,as.is=TRUE,
col.names=rcx.fields)
data(rcx)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.