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 <maancafe...@gmail.com> wrote: > 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 > -- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve? ______________________________________________ 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.