[R] How to draw multi group plot?
Greg Snow
Greg.Snow at imail.org
Tue Jun 29 21:16:45 CEST 2010
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
greg.snow at imail.org
801.408.8111
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] 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.
>
More information about the R-help
mailing list