Plot a histogram with automatic bin width selection, using the Scott or Freedman--Diaconis formulae.
hist.scott(x, prob = TRUE, xlab = deparse(substitute(x)), ...)
hist.FD(x, prob = TRUE, xlab = deparse(substitute(x)), ...)
A data vector
Should the plot have unit area, so be a density estimate?
Further arguments to hist
.
For the nclass.*
functions, the suggested number of classes.
Plot a histogram.
Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Springer.