> I would like to join repeated measures for patients across two visits using > a line. The program below uses symbols to represent each patient. Basically, > I would like to join each pair of symbols.
This is easy in ggplot: install.packages("ggplot") library(ggplot) qplot(visit, var, id=patient, type=c("line", "point"), colour=factor(patient)) Regards, Hadley ______________________________________________ R-help@stat.math.ethz.ch 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.