| bhist {mining} | R Documentation | 
Same as hist except a confidence interval is drawn 
around each bin height.
bhist(x,b=NULL,z=1)
x | 
a numerical vector | 
b | 
the number of bins, or a vector of break locations.  If NULL, chosen automatically by hist. | 
The width of the interval for height p is sqrt(p*(1-p)/n)*exp(-1/6/p/n).
None.
Tom Minka
x <- c(rnorm(100,-2,0.5),rnorm(100,2,0.5)) b <- seq(-4,4,by=0.25) bhist(x,b)