On Fri, Jun 20, 2008 at 2:47 AM, Anh Tran <popophobia@gmail.com> 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]]

