On 15-Aug-07 18:17:27, Greg Snow wrote: > > ________________________________ > > Ted Harding wrote: > [snip] > >> So you if you want the density plot, you would need to calculate >> this for yourself. E.g. >> >> H1$density <- counts/sum(counts) >> plot.histogram(H1,freq=FALSE) > > shouldn't that be: > H1$density <- counts/sum(counts)/diff(brkpts) > > ?
Of course! Thank you. Ted. -------------------------------------------------------------------- E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 15-Aug-07 Time: 20:23:13 ------------------------------ XFMail ------------------------------ ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.