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 <singularit...@gmx.net> wrote: > From: Stefan Grosse <singularit...@gmx.net> > Subject: Re: [R] Creating multiple graphs based on one variable > To: "Tim Clark" <mudiver1...@yahoo.com> > Cc: r-help@r-project.org > Date: Monday, May 25, 2009, 11:55 PM > On Tue, 26 May 2009 02:34:55 -0700 > (PDT) Tim Clark > <mudiver1...@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 > ______________________________________________ R-help@r-project.org 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.