On Fri, Jun 20, 2008 at 2:47 AM, Anh Tran <[EMAIL PROTECTED]> wrote:

> Thanks. I think I've got it. However, the density is plotted, not the
> frequency. Is there a way to convert the density back to frequency.
> Thanks a bunch.
>
>
an easy answer is that hist returns an object which you plot in any way you
like. for example,

x <- rnorm(100)
foo <- hist(x, plot=FALSE)
foo
plot(foo$mids, foo$counts, type="l")

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org 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