Re: [R] grouping rows into bin ranges

2007-10-22 Thread Thibaut Jombart
Muri Soares wrote: >Hi everyone, > >I have a matrix that contains 1000 replicates of a sample of a list of values. >I want to group each row (row=replicate) into my defined bin ranges and then >calculate the mean and stdev for each of the bin ranges (so I will have 1000 >rows but ncol=number of

[R] grouping rows into bin ranges

2007-10-22 Thread Muri Soares
Hi everyone, I have a matrix that contains 1000 replicates of a sample of a list of values. I want to group each row (row=replicate) into my defined bin ranges and then calculate the mean and stdev for each of the bin ranges (so I will have 1000 rows but ncol=number of bin ranges). I don't kno