[R] hist density...
wolski
wolski at molgen.mpg.de
Tue Jun 17 11:47:47 CEST 2003
Hi!
Do not understand following behavior.
> summary(test$dif)
Min. 1st Qu. Median Mean 3rd Qu. Max.
0.7389 0.9713 0.9850 0.9818 1.0000 1.0000
length(test$dif)
[1] 85879
tmp <- hist(test$dif,breaks=100,freq=FALSE)
The density on the Y axis in the plot are in the range 0-200.
Thought that the density should be in the range 0-1
(something like tmp$count/length(test$dif))?
Eryk
P.S.
In case of frequencies all are fine for the dataset.
More information about the R-help
mailing list