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)")

