hist.scott               package:MASS               R Documentation

_P_l_o_t _a _H_i_s_t_o_g_r_a_m _w_i_t_h _A_u_t_o_m_a_t_i_c _B_i_n _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:

     Plot a histogram with automatic bin width selection, using the
     Scott or Freedman-Diaconis formulae.

_U_s_a_g_e:

     hist.scott(x, prob = TRUE, xlab = deparse(substitute(x)), ...)
     hist.FD(x, prob = TRUE, xlab = deparse(substitute(x)), ...)

_A_r_g_u_m_e_n_t_s:

       x: A data vector

    prob: Should the plot have unit area, so be a density estimate?

xlab, ...: Further arguments to 'hist'.

_V_a_l_u_e:

     For the 'nclass.*' functions, the suggested number of classes.

_S_i_d_e _E_f_f_e_c_t_s:

     Plot a histogram.

_R_e_f_e_r_e_n_c_e_s:

     Venables, W. N. and Ripley, B. D. (2002) _Modern Applied
     Statistics with S._ Springer.

_S_e_e _A_l_s_o:

     'hist'

