prepanel.functions          package:lattice          R Documentation

_U_s_e_f_u_l _P_r_e_p_a_n_e_l _F_u_n_c_t_i_o_n _f_o_r _L_a_t_t_i_c_e

_D_e_s_c_r_i_p_t_i_o_n:

     These are predefined prepanel functions available in Lattice.

_U_s_a_g_e:

     prepanel.lmline(x, y, ...)
     prepanel.loess(x, y, span, degree, family, evaluation, ...)
     prepanel.qqmathline(x, y = x, distribution = qnorm,
                         p = c(0.25, 0.75), qtype = 7,
                         groups, subscripts,
                         ...) 

_A_r_g_u_m_e_n_t_s:

    x, y: x and y values, numeric or factor

distribution: quantile function for theoretical distribution. This is
          automatically passed in when this is used as a prepanel
          function in 'qqmath'. 

   qtype: type of 'quantile'

       p: numeric vector of length two, representing probabilities.  If
          used with 'aspect="xy"', the aspect ratio will be chosen to
          make the line passing through the corresponding quantile
          pairs as close to 45 degrees as possible. 

span, degree, family, evaluation: arguments controlling the underlying
          'loess' smooth 

groups, subscripts: See 'xyplot'.  Whenever appropriate, calculations
          are done separately for each group and then combined.  

     ...: other arguments 

_V_a_l_u_e:

     usually a list with components 'xlim', 'ylim', 'dx' and 'dy', the
     first two being used to calculate panel axes limits, the last two
     for banking computations.  The form of these components are
     described under 'xyplot'.  There are also several prepanel
     functions that serve as the default for high level functions, see
     'prepanel.default.xyplot'

_A_u_t_h_o_r(_s):

     Deepayan Sarkar Deepayan.Sarkar@R-project.org

_S_e_e _A_l_s_o:

     'trellis.par.get', 'xyplot', 'banking', 'Lattice'. See
     'loess.smooth' for further options to 'prepanel.loess'

