Computes the number of cells in a histogram using the method of Wand (1994).
nclass.wand(x, level = 1)
numeric vector of observations.
integer specifying the number of levels of functional estimation used in
the estimation. For details, see the help page of
dpih, and then computes the number of cells
corresponding to the optimal bin width returned by
A numeric value specifying the number of cells for the histogram of
Wand, M.P. (1997). Data-based choice of histogram bin width. American Statistician, 51, 59–64.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.