________________________________ 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) ? [[alternative HTML version deleted]] ______________________________________________ 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.