Skip to content
Prev 9051 / 398502 Next

Is ther a possibility to display the log(frequency) instead of the frequency in the hist plot?

The only potential problem with this solution is that bins with zero
counts and bins with 1 count will both be treated as zeros.

  Consider:

my.data <- c(1.5,1.5,2.5,4.5,5.5,5.5)
my.hist.counts <- hist(my.data, plot=F, breaks=0:6)$counts

etc.

  This is an unlikely event with the default "breaks" settings,
though.  (On the other hand, the fact that you have bins with zero counts
says that you might well have bins with only 1 count.)

  Ben
On Thu, 18 Jan 2001, Alexander A. Morgan wrote: