I think (but I didn't follow what you're trying to do and what is what) that it means the whole matrix (tm) except the first column (therefore the "-" sign)
Ivan

Le 3/11/2010 12:22, ManInMoon a écrit :
This does what I was hoping it would:

aggregate(tm[,-1],by=list(tm[,10]),FUN="mean")

but I don't know what "tm[,-1]" means (well - the -1 bit anyway.

Does it somehow means the whole matrix?



Please don't tell me to check the manual - I tried and failed dismally...



--
Ivan CALANDRA
PhD Student
University of Hamburg
Biozentrum Grindel und Zoologisches Museum
Abt. Säugetiere
Martin-Luther-King-Platz 3
D-20146 Hamburg, GERMANY
+49(0)40 42838 6231
ivan.calan...@uni-hamburg.de

**********
http://www.for771.uni-bonn.de
http://webapp5.rrz.uni-hamburg.de/mammals/eng/mitarbeiter.php

______________________________________________
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.

Reply via email to