[R] Why using hist when setting the parameter probability=TRUE does not create probability plot?
hp wan
huaping.wan at gmail.com
Mon Jan 21 23:18:12 CET 2013
Hi All,
When carrying out hist(samples,breaks=50,probability=TRUE), the column
values are considerably greater than 1, which seams very unreasonable. The
plot is attached.
I think the column value of the hist plot should correspond to
x$counts/sum(x$counts)
(x=hist(samples,breaks=50,probability=TRUE)). The size of data is a
little bit larger, causing failure of uploading. If you need the data, I
can email it to you.
Can anyone help me?
Thanks!
Best regares,
Huaping Wan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hist.png
Type: image/png
Size: 3592 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130122/9a829983/attachment.png>
More information about the R-help
mailing list