Re: [R] Creating multiple graphs based on one variable

2009-05-26 Thread Tim Clark
--- On Mon, 5/25/09, Stefan Grosse wrote: > From: Stefan Grosse > Subject: Re: [R] Creating multiple graphs based on one variable > To: "Tim Clark" > 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 Cla

Re: [R] Creating multiple graphs based on one variable

2009-05-26 Thread Tim Clark
Luc, Thanks! I was not aware of that package. It looks a lot easier than what I have been trying to do! Aloha, Tim Tim Clark Department of Zoology University of Hawaii --- On Tue, 5/26/09, Luc Villandre wrote: > From: Luc Villandre > Subject: Re: [R] Creating multiple graphs

Re: [R] Creating multiple graphs based on one variable

2009-05-26 Thread Luc Villandre
Tim Clark wrote: Dear List, I would like to create several graphs of similar data. I have x and y values for several different individuals (in this case fish). I would like to plot the x and y values for each fish separately. I can do it using a for loop, but I think I should be using "appl

Re: [R] Creating multiple graphs based on one variable

2009-05-26 Thread Stefan Grosse
On Tue, 26 May 2009 02:34:55 -0700 (PDT) Tim Clark 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