getHMedian              package:hexbin              R Documentation

_G_e_t _c_o_o_r_d_i_a_n_t_e_s _o_f _t_h_e _m_e_d_i_a_n _c_e_l_l _a_f_t_e_r _t_h_e _e_r_o_d_e _o_p_e_r_a_t_i_o_n

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

     A method for a eroded hexbin object to extract the coordinates of
     the median cell.  The median is simply the cell with the highest
     erosion number or the last cell to be eroded.

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

     getHMedian(ebin)

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

    ebin: result of 'erode.hexbin()'.

_M_e_t_h_o_d_s:


     _e_b_i_n = "_e_r_o_d_e_b_i_n" ...

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

     'erode.hexbin'

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

     set.seed(153)
     x <- rnorm(10000)
     y <- rnorm(10000)
     bin <- hexbin(x,y)

     smbin  <- smooth.hexbin(bin)
     erodebin <- erode.hexbin(smbin, cdfcut=.5)
     getHMedian(erodebin)

