[R] Histogram probabilities >1 ????!!!
guohao.huang at gmail.com
guohao.huang at gmail.com
Wed Dec 2 12:52:15 CET 2009
Y-axis in your code is ``Counts'' irrelevant to probabilities.
Guo-Hao Huang
--------------------------------------------------
From: "Trafim" <rdapamoga at gmail.com>
Sent: Wednesday, December 02, 2009 7:35 PM
To: <r-help at r-project.org>
Subject: [R] Histogram probabilities >1 ????!!!
Hi everybody,
well, I definitely don't understand anything.
Why the hist function with freq=FALSE gives such a strange result???
R <- c(-1.10, 0.79, -1.17, -0.53, -0.26, -0.22, 0.29, -0.26, -0.26, 0.39)
hist(R, freq=FALSE, breaks=10)
Thanks everybody
[[alternative HTML version deleted]]
______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list