This is a seemingly simple problem, but I'm unable to make any progress. I have a large dataset, within it there is a column of location names, some of which repeat; the adjacent column lists values for each location name. I need to sum the values which correspond to the same location name, returning a matrix of the columns containing the location name and the corresponding sum of values. Thanks very much for any assistance.
[[alternative HTML version deleted]] ______________________________________________ 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.