Re: [R] How to take the average of multiple rows

2010-04-07 Thread Newbie19_02
The aggregate function is great. THanks for this post. -- View this message in context: http://n4.nabble.com/How-to-take-the-average-of-multiple-rows-tp848880p1754315.html Sent from the R help mailing list archive at Nabble.com. __

[R] How to take the average of multiple rows

2008-06-15 Thread ss
Dear all, I have a matrix, called newdata1, dim(newdata1) [1] 3417683 It looks like: EntrezIDName S1 S2 S3S4 S5. 1 4076 CAPRIN1 0.1 0.2 0.3... 2 139170WDR40B 0.4 0.5 0.6... 35505PPP1R2P1 0.3 0.3

Re: [R] How to take the average of multiple rows

2008-06-15 Thread Marc Schwartz
on 06/15/2008 01:18 PM ss wrote: Dear all, I have a matrix, called newdata1, dim(newdata1) [1] 3417683 It looks like: EntrezIDName S1 S2 S3S4 S5. 1 4076 CAPRIN1 0.1 0.2 0.3... 2 139170WDR40B 0.4 0.5 0.6... 3