Re: [R] y axis in histograms

From: Marc Schwartz (via MN) <mschwartz_at_mn.rr.com>
Date: Tue 18 Oct 2005 - 01:18:42 EST

On Mon, 2005-10-17 at 16:51 +0200, Jorge Gaspar Sanz Salinas wrote:
> Hi all,
>
> This is my first post, I hope you will help me.
>
> I've some data to present with histograms. I have few values with almost 99% of
> the frequencies (thousands) and some other values with low frequencies (below
> one hundred) that I want to emphasize. I think if I could present the logarithms
> of the frequencies, these could be presented in a more convenient way, but I
> don't know how to deal with this.
>
> Thanks, and sorry for my English

If you are plotting the counts, you should probably look at barplot(), which as of R version 2.2.0 supports log scale axes (ie. log = "y").

See ?barplot for more information.

HTH, Marc Schwartz



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 Received on Tue Oct 18 01:33:30 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:45 EST