Re: [R] How to draw multi group plot?

From: Greg Snow <>
Date: Tue, 29 Jun 2010 13:16:45 -0600

It is hard to know exactly what you want without a description of your data or what you want the final plot to look like. But you can do the equivalent of plot followed by multiple calls to points by using a loop, apply functions, the lattice package or the ggplots2 package (I'm guessing the later 2 would be the better place for you to start).

Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare

> -----Original Message-----
> From: [mailto:r-help-bounces_at_r-
>] On Behalf Of ??
> Sent: Monday, June 28, 2010 7:57 PM
> To: R0; R1
> Subject: [R] How to draw multi group plot?
> As the attachement,I wanna draw multi group plot.
> But I can only use :
> plot(x,y...)
> points(...)
> It's a heavy work to use these command if there're too many groups to
> be drawn because I have to use point(....) for many times.
> I wanna know wheter there's command which can draw the multigroup plot
> directly?
> Thanks
> My best.
______________________________________________ mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code.
Received on Tue 29 Jun 2010 - 19:21: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 Tue 29 Jun 2010 - 19:30:48 GMT.

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

list of date sections of archive