[R] R function to calculate number of data points of each level
Philipp Pagel
p.pagel at wzw.tum.de
Wed Dec 17 14:18:56 CET 2008
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
More information about the R-help
mailing list