banking               package:lattice               R Documentation

_B_a_n_k_i_n_g

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

     Calculates `banking' slope

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

     banking(dx, dy)

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

  dx, dy: vector of consecutive x, y differences. 

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

     'banking' is a crude banking function used when aspect="xy" in
     high level Trellis functions. Its usually not very menaingful
     except for 'xyplot'. It just orders the absolute slopes and
     returns a value which when adjusted by the panel scale limits will
     make the median of the above absolute slopes a 45 degree line.

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

     Deepayan Sarkar Deepayan.Sarkar@R-project.org

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

     'Lattice', 'xyplot'

