panel.smooth              package:base              R Documentation

_S_i_m_p_l_e _P_a_n_e_l _P_l_o_t

_D_e_s_c_r_i_p_t_i_o_n:

     An example of a simple useful `panel' function to be used as
     argument in e.g., `coplot' or `pairs'.

_U_s_a_g_e:

     panel.smooth(x, y, col, pch, span=2/3, iter=3, ...)

_A_r_g_u_m_e_n_t_s:

     x,y: numeric vectors of the same length

 col,pch: numeric or character codes for the color and point type; see
          `par'

    span: smoothing parameter `f' for `lowess', see there.

    iter: number of robustness iterations for `lowess'.

     ...: further arguments to `lines'.

_S_e_e _A_l_s_o:

     `coplot(.)' and `pairs(.)' where `panel.smooth' is typically used;
     `lowess'.

_E_x_a_m_p_l_e_s:

     data(swiss)
     pairs(swiss, panel = panel.smooth, pch = ".")# emphasize the smooths

