Skip to content
Back to formatted view

Raw Message

Message-ID: <1134480197.7934.5.camel@localhost.localdomain>
Date: 2005-12-13T13:23:17Z
From: Albert Vilella
Subject: superimpose density line over hist

Hi all,

I'm trying to superimpose a rchisq density line over a histogram with
something like:

hist(alnlength)
lines(density(rchisq(length(alnlength), 4)),col="red")

But the rchisq line won't appear anywhere,

Anyone knows what I am missing here?

Thanks in advance,

    Albert.