histogram.normal.ref(haerdle)R Documentation

histogram with automatic binwidth

Description

histogram with automatic binwidth chosen by reference to a normal distribution

Usage

histogram.normal.ref(data, x0, plot.type=T)

Arguments

Required:
data a vector of data
x0 start of first bin
plot.type If TRUE, plot the histogram

Value

If plot.type=F, a list of midpoint and est, the heights.

References

`Smoothing Techniques with Implementation in S', Wolfgang Haerdle, Springer, 1991

See Also

histogram, frequency.polygon

Examples

data(dat.mixed)
# Figure 1.12
histogram.normal.ref(dat.mixed,0)


[Package Contents]