[R] log y 'axis' of histogram

David Scott d.scott at auckland.ac.nz
Mon Aug 30 08:43:54 CEST 2010


On 30/08/2010 1:58 p.m., Derek M Jones wrote:
> All,
>
> I have been trying to get calls to hist(...) to be plotted
> with the y-axis having a log scale.
>
> I have tried: par(ylog=TRUE)
>
> I have also looked at the histogram package.
>
> Suggestions welcome.
>

You appear to be looking for a log-histogram function.

There is one (logHist) in my package DistributionUtils on CRAN. You 
don't need the rest of the package to use it. You could just extract 
that particular function.

David Scott

-- 
_________________________________________________________________
David Scott	Department of Statistics
		The University of Auckland, PB 92019
		Auckland 1142,    NEW ZEALAND
Phone: +64 9 923 5055, or +64 9 373 7599 ext 85055
Email:	d.scott at auckland.ac.nz,  Fax: +64 9 373 7018

Director of Consulting, Department of Statistics



More information about the R-help mailing list