Hi again,
another problem:

This (below) isn't working and as far as I can see it damn well should. What I'm trying to acomplish is to run several data sets through the same graphing procedure, but for the pH data use a log y axis. using this code all graphs are drawn with a linear axis. 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)
...
}

Any ideas what I'm doing wrong? I assume its something to do with the ylog (and xlog) options being read-only but I'm not sure what that means.
J


______________________________________________
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to