[R] Draw curve for histogram

From: Anh Tran <popophobia_at_gmail.com>
Date: Thu, 19 Jun 2008 14:16:46 -0700

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.


Anh Tran
UCLA NeuroOncology Lab

	[[alternative HTML version deleted]]

R-help_at_r-project.org mailing list
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:22:00 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 Fri 20 Jun 2008 - 00:31:30 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