[R] tm[,-1]

Ivan Calandra ivan.calandra at uni-hamburg.de
Thu Mar 11 15:54:29 CET 2010


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.calandra at uni-hamburg.de

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



More information about the R-help mailing list