On Wed, Dec 17, 2008 at 02:09:57PM +0100, Philipp Pagel wrote: > or maybe > > ggregate(foo$V1, by=list(foo$V1), FUN=length)
Oops- that was supposed to be 'aggegate'... -- Dr. Philipp Pagel Lehrstuhl für Genomorientierte Bioinformatik Technische Universität München Wissenschaftszentrum Weihenstephan 85350 Freising, Germany http://mips.gsf.de/staff/pagel ______________________________________________ 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.