voting                 package:HSAUR                 R Documentation

_H_o_u_s_e _o_f _R_e_p_r_e_s_e_n_t_a_t_i_v_e_s _V_o_t_i_n_g _D_a_t_a

_D_e_s_c_r_i_p_t_i_o_n:

     Voting results for 15 congressmen from New Jersey.

_U_s_a_g_e:

     data("voting")

_F_o_r_m_a_t:

     A 15 times 15 matrix.

_D_e_t_a_i_l_s:

     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.

_S_o_u_r_c_e:

     H. C. Romesburg (1984), _Cluster Analysis for Researchers_.
     Lifetime Learning Publications, Belmont, Canada.

_E_x_a_m_p_l_e_s:

       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)

