On 11.03.2010 12:22, ManInMoon wrote:

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

But we tell you to do exactly that and ask you to read how indexing works, otherwise we will get dozens of even simpler questions (almost impossible, though). Maybe someone is voluntaring to answer if you do not hide yourself behind the moon any more, ManInMoon.

Uwe Ligges





______________________________________________
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