shorth package:genefilter R Documentation _M_i_d_p_o_i_n_t _o_f _t_h_e _s_h_o_r_t_h _D_e_s_c_r_i_p_t_i_o_n: Calculate the midpoint of the shorth _U_s_a_g_e: shorth(x, na.rm=FALSE) _A_r_g_u_m_e_n_t_s: x: Numeric na.rm: Logical _D_e_t_a_i_l_s: The shorth is the shortest interval that covers half of the values in 'x'. Its midpoint is the median of the data values that lie in the shorth and can be used as an estimator of the mode of the distribution that generated 'x'. _V_a_l_u_e: The midpoint of the short of 'x'. _A_u_t_h_o_r(_s): Wolfgang Huber _E_x_a_m_p_l_e_s: x <- c(rnorm(100), runif(100) * 10) mean(x) median(x) shorth(x)