From: Jeremy Z Butler [mailto:[EMAIL PROTECTED]
> Surely I should be able to set the
> ylog option to T using another object (logaxis).
>
>for (n in colnames(raw))
>{
>if(n=="pH"){logaxis<-"T"} else {logaxis<-"F"}
>plot(full.age,raw[,n],type="n",ylog=logaxis)
>...
>}
What (probably) will work is:
if(n=="pH"){logaxis<-"Y"} else {logaxis<-""}
plot(full.age,raw[,n],type="n",log=logaxis)
The plot-argument log takes which axis that shuld be logaritmic.
Morten
______________________________________________
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help