Skip to content

Why there are no log="xy" parameter in the hist() function?

2 messages · Wolski, Brian Ripley

#
Hi!
Why there are no log="xy" parameter in the hist() function?
Im looking for this option.

I am using R1.1.1.



THX in advance.
Eryk
--
Witold Eryk Wolski
Max Plank Institut fuer Molekulare Genetik
Ihnestr73 14195 Berlin
Germany
tel.:
Work 0049-30-84131426
http://www.molgen.mpg.de/~wolski


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Sun, 14 Jan 2001, Witold Eryk Wolski wrote:

            
What would it mean?  First, hist gives a density, so plotting on a log x
scale is not correct: you would want the density of log x, not x, and you
cna of course get that by hist(log(x)). Second, if you want to plot a log
density, you should use a better density estimate, one that does not return
0, for example.

If perchance what you are calling hist on is a discrete variate, you should
not be using hist ....
As ever, we suggest you keep R up to date. 1.2.1 is due tomorrow.