Re: [R] Density curve over a histogram

2005-04-27 Thread Peter Dalgaard
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 ISw

Re: [R] Density curve over a histogram

2005-04-27 Thread Paul Smith
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.

Re: [R] Density curve over a histogram

2005-04-27 Thread Vincent Goulet
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=TRU

Re: [R] Density curve over a histogram

2005-04-27 Thread Uwe Ligges
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

Re: [R] Density curve over a histogram

2005-04-27 Thread Achim Zeileis
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

[R] Density curve over a histogram

2005-04-27 Thread Paul Smith
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 mail