Skip to content
Back to formatted view

Raw Message

Message-ID: <x2sm1c842i.fsf@turmalin.kubism.ku.dk>
Date: 2005-04-27T18:31:01Z
From: Peter Dalgaard
Subject: Density curve over a histogram
In-Reply-To: <6ade6f6c05042711065f69746b@mail.gmail.com>

Paul Smith <phhs80 at gmail.com> 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 package, you'll
find a detailed example in ch01.R (end of 1.3/beginning of 1.4). Or
you could read the book, of course...

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907