Re: [R] Fw: calculate mean of multiple rows in a data frame

2011-12-02 Thread Jabez Wilson
: [R] Fw: calculate mean of multiple rows in a data frame To: "Jabez Wilson" Cc: "R-Help" Date: Friday, 2 December, 2011, 14:29 It's easier for folks to help you if you put your example data in a format that can be readily read in R.  See, for example, the dput() functi

Re: [R] Fw: calculate mean of multiple rows in a data frame

2011-12-02 Thread Jean V Adams
It's easier for folks to help you if you put your example data in a format that can be readily read in R. See, for example, the dput() function, which you can use to provide us with something like this: DF <- structure(list(NAME = c("Control_1", "Control_2", "Control_1", "Control_3", "MM0289~R

[R] Fw: calculate mean of multiple rows in a data frame

2011-12-01 Thread Jabez Wilson
NAME ID a b c d 1 Control_1 probe~B01R01C01 381 213 345 653 2 Control_2 probe~B01R01C02 574 629 563 783 3 Control_1 probe~B01R09C01 673 511 521 967 4 Control_3 probe~B01R09C02 53 809 999 50 5 MM0289~RFU:11810.15 probe~B29R13C06 681 34 115 587 6 MM0289~RFU:9238.41 probe~B29R13C05 784 443 20