Examples for 'KernSmooth::dpih'


Select a Histogram Bin Width

Aliases: dpih

Keywords: smooth

### ** Examples

data(geyser, package="MASS")
x <- geyser$duration
h <- dpih(x)
bins <- seq(min(x)-h, max(x)+h, by=h)
hist(x, breaks=bins)
plot of chunk example-KernSmooth-dpih-1

[Package KernSmooth version 2.23-20 Index]