qq                  package:lattice                  R Documentation

_Q_u_a_n_t_i_l_e-_Q_u_a_n_t_i_l_e _P_l_o_t_s _o_f _T_w_o _S_a_m_p_l_e_s

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

     Quantile-Quantile plots for comparing two Distributions

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

     qq(formula, f.value = ppoints, ...)

_A_r_g_u_m_e_n_t_s:

 formula: formula of the form 'y ~ x | g1 * g2 * ...', where 'x' must
          be a numeric, and 'y' can be a factor, shingle, character or
          numeric vector, with the restriction that there must be
          exactly two levels of 'y', which divide the values of 'x'
          into two groups. Quantiles for these groups will be plotted
          along the two axes. 

 f.value: function of a single integer (representing sample size),
          returning a vector of probabilities corresponding to which
          quantiles should be plotted.

     ...: Other arguments

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

     These and all other high level Trellis functions have several
     arguments in common. These are extensively documented only in the
     help page for 'xyplot', which should be consulted to learn more
     detailed usage.

_V_a_l_u_e:

     An object of class ``trellis''. The `update' method can be used to
     update components of the object and the `print' method (usually
     called by default) will plot it on an appropriate plotting device.

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

     Deepayan Sarkar deepayan@stat.wisc.edu

_S_e_e _A_l_s_o:

     'xyplot', 'panel.qq', 'Lattice'

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

     data(singer)
     qq(voice.part ~ height, aspect = 1, data = singer,
        subset = (voice.part == "Bass 2" | voice.part == "Tenor 1"))

