Re: [R] XYplot in Lattice Package

2009-01-19 Thread jimdare
Thanks for your help David. I managed to track down this solution in regard to the second question: http://www.nabble.com/lattice-xyplot-with-bty%3D%22l%22-tt12486052.html#a12489170 Regards, James David Winsemius wrote: > > > On Jan 15, 2009, at 9:27 PM, jimdare wrote: > >> >> Dear R-

Re: [R] XYplot in Lattice Package

2009-01-15 Thread David Winsemius
On Jan 15, 2009, at 9:27 PM, jimdare wrote: Dear R-Users I have 2 questions to do with XYplot. 1) I am trying to use the XYplot function to generate multiple line graphs with the legend outside the plot. I am using the following loop for each graph: library(lattice) for (i in x.sp){ xy

[R] XYplot in Lattice Package

2009-01-15 Thread jimdare
Dear R-Users I have 2 questions to do with XYplot. 1) I am trying to use the XYplot function to generate multiple line graphs with the legend outside the plot. I am using the following loop for each graph: library(lattice) for (i in x.sp){ xyplot(Catch~Year, df, groups = Stock, type="a",aut