Message-ID: <3A6609C5.78791154@statistik.uni-dortmund.de>
Date: 2001-01-17T21:08:22Z
From: Uwe Ligges
Subject: Is ther a possibility to display the log(frequency) instead of the frequency in the hist plot?
Witold Eryk Wolski wrote:
>
> Is there a possibility to display the log(frequency) instead of the
> frequency in the hist?
I think you want something like the following example:
x <- runif(100) * 10
my.hist <- hist(x)
my.hist # have a look at the values!
my.hist$counts <- log(my.hist$counts, 10) # logarithm with base 10
plot(my.hist) # now plot it again with log(frequency)
Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._