Skip to content
Prev 61785 / 63424 Next

hist(..., log="y")

Log histograms are of particular interest when dealing with heavy tailed 
data/distributions.

It is not just a matter of using a log scale on the y axis though 
because the base line of the histogram is at zero and the log of zero is 
minus infinity.

I have implemented a version of a log histogram in the function logHist, 
in my package DistributionUtils, which may be of interest if anyone 
seriously wishes to add functionality to the base hist function.

David Scott
On 7/08/2023 8:54 pm, Martin Maechler wrote: