truehist package:MASS R Documentation _P_l_o_t _a _H_i_s_t_o_g_r_a_m _D_e_s_c_r_i_p_t_i_o_n: Creates a histogram on the current graphics device. _U_s_a_g_e: truehist(data, nbins = "Scott", h, x0 = -h/1000, breaks, prob = TRUE, xlim = range(breaks), ymax = max(est), col, xlab = deparse(substitute(data)), bty = "n", ...) _A_r_g_u_m_e_n_t_s: data: numeric vector of data for histogram. Missing values ('NA's) are allowed and omitted. nbins: The suggested number of bins. Either a positive integer, or a character string naming a rule: '"Scott"' or '"Freedman-Diaconis"' or '"FD"'. (Case is ignored.) h: The bin width, a strictly positive number (takes precedence over 'nbins'). x0: Shift for the bins - the breaks are at 'x0 + h * (..., -1, 0, 1, ...)' breaks: The set of breakpoints to be used. (Usually omitted, takes precedence over 'h' and 'nbins'). prob: If true (the default) plot a true histogram. The vertical axis has a _relative frequency density_ scale, so the product of the dimensions of any panel gives the relative frequency. Hence the total area under the histogram is 1 and it is directly comparable with most other estimates of the probability density function. If false plot the counts in the bins. xlim: The limits for the x-axis. ymax: The upper limit for the y-axis. col: The colour number for the bar fill. xlab: label for the plot x-axis. By default, this will be the name of 'data'. bty: The box type for the plot - defaults to none. ...: additional arguments to 'rect' or 'plot'. _D_e_t_a_i_l_s: This plots a true histogram, a density estimate of total area 1. If 'breaks' is specified, those breakpoints are used. Otherwise if 'h' is specified, a regular grid of bins is used with width 'h'. If neither 'breaks' nor 'h' is specified, 'nbins' is used to select a suitable 'h'. _S_i_d_e _E_f_f_e_c_t_s: A histogram is plotted on the current device. _R_e_f_e_r_e_n_c_e_s: Venables, W. N. and Ripley, B. D. (2002) _Modern Applied Statistics with S._ Fourth edition. Springer. _S_e_e _A_l_s_o: 'hist'