On 15/08/07, Ted Harding <[EMAIL PROTECTED]> wrote:
>
> 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)


Oddly, plot.histogram doesn't work in my version of R (which is 2.5.1), even
though R can give me the help page for it. plot() works fine though.

Thanks again!

NC

And so on ... there are many relevant details in the help pages
> ?hist and ?plot.histogram
>
> Best wishes,
> Ted.
>
> --------------------------------------------------------------------
> E-Mail: (Ted Harding) <[EMAIL PROTECTED]>
> Fax-to-email: +44 (0)870 094 0861
> Date: 15-Aug-07                                       Time: 11:53:14
> ------------------------------ XFMail ------------------------------
>

        [[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.

Reply via email to