Witold Eryk Wolski
2001-Jan-14 10:10 UTC
[R] Why there are no log="xy" parameter in the hist() function?
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Prof Brian D Ripley
2001-Jan-14 12:04 UTC
[R] Why there are no log="xy" parameter in the hist() function?
On Sun, 14 Jan 2001, Witold Eryk Wolski wrote:> Hi! > Why there are no log="xy" parameter in the hist() function? > Im looking for this option.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 ....> I am using R1.1.1.As ever, we suggest you keep R up to date. 1.2.1 is due tomorrow. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._