Learn R Programming

HSAUR (version 1.3-10)

voting: House of Representatives Voting Data

Description

Voting results for 15 congressmen from New Jersey.

Usage

data("voting")

Arguments

Format

A 15 times 15 matrix.

Details

Romesburg (1984) gives a set of data that shows the number of times 15 congressmen from New Jersey voted differently in the House of Representatives on 19 environmental bills. Abstentions are not recorded.

Examples

Run this code
# NOT RUN {
  data("voting", package = "HSAUR")
  require("MASS")
  voting_mds <- isoMDS(voting)
  plot(voting_mds$points[,1], voting_mds$points[,2],
       type = "n", xlab = "Coordinate 1", ylab = "Coordinate 2",
       xlim = range(voting_mds$points[,1])*1.2)
  text(voting_mds$points[,1], voting_mds$points[,2], 
       labels = colnames(voting))
  voting_sh <- Shepard(voting[lower.tri(voting)], voting_mds$points)

# }

Run the code above in your browser using DataLab