Re: [R] graphics - joining repeated measures with a line

From: hadley wickham <>
Date: Thu 07 Sep 2006 - 13:41:10 GMT

> 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:


qplot(visit, var, id=patient, type=c("line", "point"), colour=factor(patient))


Hadley mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu Sep 07 23:47:05 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 07 Sep 2006 - 13:55:41 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.