[R] Multiple lines with a different color assigned to each line (corrected code)

Judith Flores juryef at yahoo.com
Tue Feb 26 23:24:08 CET 2008


Sorry, I just realized I didn't type in the correct
names of the variables I am working with, this is how
it should be:

plot(1,1,type="n")
for (i in summ$tx) {

   points(summ$timep[summ$tx==i],summ$mn[summ$tx==i])
   lines(summ$timep[summ$tx==i],summ$mn[summ$tx==i])
}


Thank you,

Judith



      ____________________________________________________________________________________
Be a better friend, newshound, and



More information about the R-help mailing list