ucv package:MASS R Documentation _U_n_b_i_a_s_e_d _C_r_o_s_s-_V_a_l_i_d_a_t_i_o_n _f_o_r _B_a_n_d_w_i_d_t_h _S_e_l_e_c_t_i_o_n _D_e_s_c_r_i_p_t_i_o_n: Uses unbiased cross-validation to select the bandwidth of a Gaussian kernel density estimator. _U_s_a_g_e: ucv(x, nb = 1000, lower, upper) _A_r_g_u_m_e_n_t_s: x: a numeric vector nb: number of bins to use. lower, upper: Range over which to minimize. The default is almost always satisfactory. _V_a_l_u_e: a bandwidth. _R_e_f_e_r_e_n_c_e_s: Scott, D. W. (1992) _Multivariate Density Estimation: Theory, Practice, and Visualization._ Wiley. Venables, W. N. and Ripley, B. D. (2002) _Modern Applied Statistics with S._ Fourth edition. Springer. _S_e_e _A_l_s_o: 'bcv', 'width.SJ', 'density' _E_x_a_m_p_l_e_s: ucv(geyser$duration)