[R] Regular repeats

2013-08-13 Thread jsf1982
Hi, Many apologies for the simplicity (hopefully!) of this request - I can't find it on the forum, but it may have been asked in the past. I have a data frame consisting of ~2000 rows. I simply want to take the average of the first 6, then the next 6, then the next 6 until the end of the table.

Re: [R] Regular repeats

2013-08-13 Thread Doran, Harold
-help-boun...@r-project.org] On Behalf Of jsf1982 Sent: Tuesday, August 13, 2013 12:46 PM To: r-help@r-project.org Subject: [R] Regular repeats Hi, Many apologies for the simplicity (hopefully!) of this request - I can't find it on the forum, but it may have been asked in the past. I have a data

Re: [R] Regular repeats

2013-08-13 Thread Berend Hasselman
On 13-08-2013, at 18:46, jsf1982 jamie.free...@ucl.ac.uk wrote: Hi, Many apologies for the simplicity (hopefully!) of this request - I can't find it on the forum, but it may have been asked in the past. I have a data frame consisting of ~2000 rows. I simply want to take the average of the

Re: [R] Regular repeats

2013-08-13 Thread arun
...@ucl.ac.uk To: r-help@r-project.org Cc: Sent: Tuesday, August 13, 2013 12:46 PM Subject: [R] Regular repeats Hi, Many apologies for the simplicity (hopefully!) of this request - I can't find it on the forum, but it may have been asked in the past. I have a data frame consisting of ~2000 rows. I