nclass.wand: Number of cells in a histogram

Description Usage Arguments Details Value References See Also

Description

Computes the number of cells in a histogram using the method of Wand (1994).

Usage

1
   nclass.wand(x, level = 1)

Arguments

x

numeric vector of observations.

level

integer specifying the number of levels of functional estimation used in the estimation. For details, see the help page of dpih from the package KernSmooth.

Details

nclass.wand calls dpih, and then computes the number of cells corresponding to the optimal bin width returned by dpih.

Value

A numeric value specifying the number of cells for the histogram of x.

References

Wand, M.P. (1997). Data-based choice of histogram bin width. American Statistician, 51, 59–64.

See Also

denspr



Search within the siggenes package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.