Le 27 Avril 2005 14:06, Paul Smith a écrit :
> 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?

Sure. See curve() with add=TRUE. Don't forget to use prob=TRUE when plotting 
your histogram, though.

Vincent

______________________________________________
R-help@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

Reply via email to