[R] Density curve over a histogram

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Apr 27 20:18:16 CEST 2005


Paul Smith wrote:

> Dear All
> 
> I would like to draw a picture with the density curve of a normal
> distribution over a histogram of a set of random numbers extracted
> from the same normal distribution. Is that possible?

Yes.

If you like to know how, see e.g. ?hist and ?curve.

Uew Ligges


> Thanks in advance,
> 
> Paul
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list