Re: [R] histogram without bars but with density line - frequency-lines?

2008-10-16 Thread Yihui Xie
Bars are corresponding to bins, and the bin-width for lines is 0; please tell me what is the "frequency" at a fixed point (rather than over an interval)? Regards, Yihui -- Yihui Xie <[EMAIL PROTECTED]> Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086 Mobile: +86-15810805877 Homepage: http://www.y

Re: [R] histogram without bars but with density line - frequency-lines?

2008-10-16 Thread Jörg Groß
Am 16.10.2008 um 17:12 schrieb Yihui Xie: plot(density(x)) Regards, Yihui -- Thanks! Is there also a way to plot the frequency-bars (not the density) as lines instead of bars? __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/l

Re: [R] histogram without bars but with density line

2008-10-16 Thread Yihui Xie
plot(density(x)) Regards, Yihui -- Yihui Xie <[EMAIL PROTECTED]> Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086 Mobile: +86-15810805877 Homepage: http://www.yihui.name School of Statistics, Room 1037, Mingde Main Building, Renmin University of China, Beijing, 100872, China On Thu, Oct 16, 20

[R] histogram without bars but with density line

2008-10-16 Thread Jörg Groß
Hi, I know how to plot an histogram and how to add a density line. But how can I plot only the density line without the bars? Is there a way to say the hist() function not to plot bars, but a density line instead? __ R-help@r-project.org mailing li