singer                package:lattice                R Documentation

_H_e_i_g_h_t_s _o_f _N_e_w _Y_o_r_k _C_h_o_r_a_l _S_o_c_i_e_t_y _s_i_n_g_e_r_s

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

     Heights in inches of the singers in the New York Choral Society in
     1979.  The data are grouped according to voice part.  The vocal
     range for each voice part increases in pitch according to the
     following order: Bass 2, Bass 1, Tenor 2, Tenor 1, Alto 2, Alto 1,
     Soprano 2, Soprano 1.

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

     singer

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

     A data frame with 235 observations on the following 2 variables.

     _h_e_i_g_h_t Height in inches of the singers.

     _v_o_i_c_e._p_a_r_t (Unordered) factor with levels "'Bass 2'", "'Bass 1'",
          "'Tenor 2'", "'Tenor 1'", "'Alto 2'", "'Alto 1'", "'Soprano
          2'", "'Soprano 1'".

_A_u_t_h_o_r(_s):

     Documentation contributed by Kevin Wright.

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

     Chambers, J.M., W. S. Cleveland, B. Kleiner, and P. A. Tukey.
     (1983). _Graphical Methods for Data Analysis_.  Chapman and Hall,
     New York.

_R_e_f_e_r_e_n_c_e_s:

     Cleveland, William S. (1993). _Visualizing Data_.  Hobart Press,
     Summit, New Jersey.

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

     # Separate histogram for each voice part (Figure 1.2 from Cleveland)
     histogram(~ height | voice.part,
               data = singer,
               aspect=1,
               layout = c(2, 4), 
               nint=15,
               xlab = "Height (inches)")

     # Quantile-Quantile plot (Figure 2.11 from Cleveland)
     qqmath(~ height | voice.part,
            data=singer,
            aspect=1, 
            layout=c(2,4),
            prepanel = prepanel.qqmathline,
            panel = function(x, ...) {
              panel.grid()
              panel.qqmathline(x, ...)
              panel.qqmath(x, ...)
            },
            xlab = "Unit Normal Quantile",
            ylab="Height (inches)")

