Hi,

Is this a bug from hist() ? The total density is greater than 1.

> test
 [1]  0.05077802 -0.50585520 -0.98053648 -0.35513059  0.86767129  0.61736097
 [7]  0.14264062  0.26243841 -0.41477782  0.64172618  0.87230953 -0.62570629
[13]  0.43596467 -0.93214106 -0.26781599

> h <- hist(test, freq = FALSE, main="Histogram of correlation", ylab =
"Frequency", xlab = "Correlation", ylim =c(0.0, 1.0))
> h$breaks
[1] -1.0 -0.5  0.0  0.5  1.0
> h$density
[1] 0.5333332 0.4000000 0.5333333 0.5333333
> h$counts
[1] 4 3 4 4


Thanks
Stanley

	[[alternative HTML version deleted]]

