Re: [R] Draw curve for histogram

From: Henrique Dallazuanna <wwwhsd_at_gmail.com>
Date: Thu, 19 Jun 2008 18:24:55 -0300

See ?density

On Thu, Jun 19, 2008 at 6:16 PM, Anh Tran <popophobia_at_gmail.com> wrote:

> Hi all,
> What parameter should I feed to the hist function to draw a line, not bar
> graph for a histogram? Smoothed line would be great too.
> I've looked at curve() for normal distribution but it's not what I need. I
> need some curve on top of the histogram (fit to the actual data). Just as a
> way to illustrate, rather than bargraph.
>
> Thanks
>
> --
> Regards,
> Anh Tran
> UCLA NeuroOncology Lab
>
> [[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.
>

-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

	[[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.

Received on Thu 19 Jun 2008 - 22:51:28 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 19 Jun 2008 - 23:31:34 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive