Stefan, Thanks for the suggestion. Lattice works great. You might also want to check out the ggplot2 package that Luc suggested. They both seem to provide quite a few more options than the basic graphics package in R. Aloha, Tim Tim Clark Department of Zoology University of Hawaii
--- On Mon, 5/25/09, Stefan Grosse <singularitaet at gmx.net> wrote:
From: Stefan Grosse <singularitaet at gmx.net> Subject: Re: [R] Creating multiple graphs based on one variable To: "Tim Clark" <mudiver1200 at yahoo.com> Cc: r-help at r-project.org Date: Monday, May 25, 2009, 11:55 PM On Tue, 26 May 2009 02:34:55 -0700 (PDT) Tim Clark <mudiver1200 at yahoo.com> wrote: TC> I would like separate plots for Tony, Mike, and Vicky.? What is the TC> best way to do this?? use the lattice package: library(lattice) xyplot(y~x|Name,data=dat) Mr. Sarkar (the author of the package) has written an excellent book on his package I recommend it. hth Stefan