Absolutely wonderful. Yes indeed, instead of having two variables being listed as group by in a sql statement one can use a combination of cbind, unique, duplicated and indexing to get the same data without having to go through second programs.
[[alternative HTML version deleted]] ______________________________________________ R-help@stat.math.ethz.ch 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.