tmd                 package:lattice                 R Documentation

_T_u_k_e_y _M_e_a_n-_D_i_f_f_e_r_e_n_c_e _P_l_o_t

_D_e_s_c_r_i_p_t_i_o_n:

     Create Tukey Mean-Difference Plots from a trellis object returned
     by 'xyplot' and 'qq'

_U_s_a_g_e:

     tmd(object,
         xlab = "mean",
         ylab = "difference",
         panel = "panel.tmd",
         prepanel = "prepanel.default.tmd",
         ...)

_A_r_g_u_m_e_n_t_s:

  object: An object of class ``trellis'' returned by 'xyplot' or 'qq' 

    xlab: x label

    ylab: y label

   panel: panel function to be used 

prepanel: prepanel function used to recalculate limits using the
          modified 'x' and 'y' values 

     ...: other arguments

_D_e_t_a_i_l_s:

     The Tukey Mean-difference plot is produced by modifying the (x,y)
     values of each panel as follows: the new coordinates are given by
     'x=(x+y)/2' and 'y=y-x'.

     'tmd' uses the 'update' method for ``trellis'' objects, which
     processes all extra arguments supplied to 'tmd'.

_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.Sarkar@R-project.org

_S_e_e _A_l_s_o:

     'panel.tmd', 'xyplot', 'Lattice'

_E_x_a_m_p_l_e_s:

     tmd(qqmath(~height|voice.part, data = singer))

