Skip to content
Prev 60794 / 63424 Next

bug in plot.table(..., log='y')?

Martin wrote

If you have a table with  0  counts  and think you'd prefer
log="y" --- something I strongly agree is often a good idea,
giving much more useful plots ---

I'd consider in this case using the good old
   log( 1+   y )
or log( eps+ y )  trick.


One could also sqrt(y), which helps stabilize the variances of count data.

Making nicely spaced and labelled tick marks for these transformations can
be a pain.  Perhaps some package already does this.

-Bill

On Mon, May 30, 2022 at 3:41 AM Martin Maechler <maechler at stat.math.ethz.ch>
wrote: