Skip to content
Prev 60790 / 63424 Next

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

On 28/05/2022 11:33 a.m., Spencer Graves wrote:
The help page ?plot.table says that ylim defaults to c(0, max(x)), i.e. 
c(0,3) in your example.  If you're asking to plot that on a log scale, 
there are bound to be problems.

If you specify ylim, e.g. as c(min(tstTable), max(tstTable)), things are 
fine in your example; they won't be in examples where the min is zero.

Duncan Murdoch