[R] xy.coords and log10

ONKELINX, Thierry Thierry.ONKELINX at inbo.be
Tue Nov 20 18:03:15 CET 2007


Have a look at scale_x_log10() and scale_y_log10() from the ggplot2
package. The helpfile with some examples is at
http://had.co.nz/ggplot2/scale_continuous.html

HTH,

Thierry 


------------------------------------------------------------------------
----
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature
and Forest
Cel biometrie, methodologie en kwaliteitszorg / Section biometrics,
methodology and quality assurance
Gaverstraat 4
9500 Geraardsbergen
Belgium 
tel. + 32 54/436 185
Thierry.Onkelinx op inbo.be 
www.inbo.be 

Do not put your faith in what statistics say until you have carefully
considered what they do not say.  ~William W. Watt
A statistical analysis, properly conducted, is a delicate dissection of
uncertainties, a surgery of suppositions. ~M.J.Moroney

-----Oorspronkelijk bericht-----
Van: r-help-bounces op r-project.org [mailto:r-help-bounces op r-project.org]
Namens Alexy Khrabrov
Verzonden: dinsdag 20 november 2007 17:23
Aan: Duncan Murdoch
CC: r-help op r-project.org
Onderwerp: Re: [R] xy.coords and log10

xy.coords can have a log="xy" parameter which then plot interprets to
use log scale.
I wonder whether plot can be instructed in a similar way to use log10
scale instead of natural logs.

Cheers,
Alexy

On Nov 20, 2007, at 7:01 PM, Duncan Murdoch wrote:

> On 11/20/2007 10:41 AM, Alexy Khrabrov wrote:
>> Is there a way to teach xy.coords, when given log="xy", or just "x" 
>> or "y" separately, to do a decimal log10 instead of the natural log?

> xy.coords doesn't do any transformation other than setting non- 
> positive values to NA.  So your question doesn't make sense; could you

> elaborate on what you're seeing that you don't want to see?

______________________________________________
R-help op r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list