Re: [R] xyplot lines goes forth and backwards

2009-10-26 Thread jim holtman
You probably want to use something like aggregate or tapply to sum up the required quantities. Impossible to give more precise answers without the actual data and what the expected results might look like. On Mon, Oct 26, 2009 at 9:36 AM, marcos carvajalino wrote: > Thanks a lot Jim!! i sorted t

[R] xyplot lines goes forth and backwards

2009-10-26 Thread marcos carvajalino
Thanks a lot Jim!! i sorted them and BINGO!! How about the sum issue? any ideas? -- Marcos Antonio Carvajalino Fernández Estudiante de Ingeniería Ambiental y Sanitaria Universidad del Magdalena, Colombia __ R-help@r-project.org mailing list https://stat

Re: [R] xyplot lines goes forth and backwards

2009-10-26 Thread marcos carvajalino
Thanks a lot Jim!! i sorted them and BINGO!! How about the sum issue? any ideas? -- Marcos Antonio Carvajalino Fernández Estudiante de Ingeniería Ambiental y Sanitaria Universidad del Magdalena, Colombia [[alternative HTML version deleted]] __

Re: [R] xyplot lines goes forth and backwards

2009-10-26 Thread jim holtman
My guess is (since no data was supplied) is that the data is not sorted into date order. Can you provide a subset of the data that exhibits the problem? It may just be a matter of sorting your dataframe into date order before doing the plots. On Mon, Oct 26, 2009 at 9:14 AM, marcos carvajalino

[R] xyplot lines goes forth and backwards

2009-10-26 Thread marcos carvajalino
Hi, This is my first post in this page althougt i've been using R for several months (by the way english is not my native language so sorry about the grammar). I have a problem with a xyplot on lattice, it's supossed to print different lines for each river (Rio) conditioned by a chemical paramete