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?
Thanks in advance,
Paul
__
R-help@stat.math.ethz.ch
On Wed, 27 Apr 2005 19:06:07 +0100 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?
To quote Simon `Yoda' Blomberg: This is R.
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
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
On 4/27/05, Achim Zeileis [EMAIL PROTECTED] wrote:
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?
To quote Simon `Yoda' Blomberg: This is R. There is
Paul Smith [EMAIL PROTECTED] writes:
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 look at the scripts that go with the ISwR