[R] superimpose density line over hist
andy_liaw at merck.com
Tue Dec 13 15:16:10 CET 2005
One thing to check: Are the data in the same range as chisq with 4 df?
From: Albert Vilella
> Hi all,
> I'm trying to superimpose a rchisq density line over a histogram with
> something like:
> 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,
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide!
More information about the R-help