Skip to content
Back to formatted view

Raw Message

Message-ID: <1134489681.7934.10.camel@localhost.localdomain>
Date: 2005-12-13T16:01:20Z
From: Albert Vilella
Subject: superimpose density line over hist
In-Reply-To: <XFMail.051213155024.Ted.Harding@nessie.mcc.ac.uk>

This certainly did the trick,

Thanks Ted, Sean, Romain, Dimitris, Lian and Andy,

>   alnlength<-rchisq(1000,4)
>   x<-0.25*(0:100)
>   hist(alnlength,breaks=0.25*(0:100))
>   lines(x,1000*dchisq(x,4)*0.25)

And apologies for my "newbieness" in the posting,

    Albert.