[R] lines density

bgnumis bgnumis at gmail.com
Sat Nov 17 11:38:48 CET 2012


Hi all,

I attach a picture, with my output plot.

I put this command to obtain it:

hist(MCT[,2],probability=TRUE,xlab=" ",ylab="Max",main="M distribution")
lines(density(MCT[,2]), lwd = 2)

The problem is that when I extract the "bell" is too high? And the higher
part doesn´t appear in the plot. There is some trick to adjust the line on
the plotted area?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Rplotdddd.png
Type: image/png
Size: 11755 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20121117/80b834cc/attachment.png>


More information about the R-help mailing list