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

From: Judith Flores <juryef_at_yahoo.com>
Date: Tue, 26 Feb 2008 14:24:08 -0800 (PST)

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:

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,


Be a better friend, newshound, and

R-help_at_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. Received on Tue 26 Feb 2008 - 22:27:10 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 27 Feb 2008 - 10:30:17 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive