[R] hist and normal curve

Sundar Dorai-Raj sundar.dorai-raj at PDF.COM
Tue Aug 10 23:51:37 CEST 2004



Laura Holt wrote:

> Hi R People:
> 
> I have a data set and I want to use the hist command and produce a 
> histogram.
> Then I want to superimpose a normal curve over the histogram.
> 
> Is there a simple way to do this, please?
> 
> R version 1.9.1 Windows.
> 
> thanks in advance,
> Sincerely,
> Laura Holt
> mailto: lauraholt_983 at hotmail.com
> 
> 

This has been answered numerous times. See, for example,

http://finzi.psych.upenn.edu/R/Rhelp01/archive/5029.html

I found this using "superimpose histogram normal density" on the "R Site 
Search" page.

--sundar




More information about the R-help mailing list