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

Yihui Xie xieyihui at gmail.com
Fri Oct 17 07:59:34 CEST 2008


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 <xieyihui at gmail.com>
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, 2008 at 11:54 PM, Jörg Groß <joerg at licht-malerei.de> wrote:
>
> 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 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