hist.scott {MASS} | R Documentation |
Plot a histogram with automatic bin width selection, using the Scott or Freedman-Diaconis formulae.
hist.scott(x, prob = TRUE, ...) hist.FD(x, prob = TRUE, ...) nclass.scott(x) nclass.FD(x)
x |
A data vector |
prob |
Should the plot have unit area, so be a density estimate? |
... |
Further arguments to hist .
|
nclass.scott
uses Scott's choice for a normal distribution based on
the estimate of the standard error, and nclass.FD
uses the
Freedman-Diaconis choice based on the inter-quartile range.
For the nclass.*
functions, the suggested number of classes.
The hist.*
function plot a histrogram.
Venables, W. N. and Ripley, B. D. (1999) Modern Applied Statistics with S-PLUS. Springer, pages 1189.