Re: [R] Average value in a particular range of a matrix

2014-06-12 Thread Pat-74100
04:26 -0700 > From: smartpink...@yahoo.com > Subject: Re: [R] Average value in a particular range of a matrix > To: leonardsqual...@hotmail.com > > Hi Pat, > Is it 1-100, 101-200, 201-300,.. or just the way you described? > A.K. > > > > > On Wednesday, June 11,

[R] Average value in a particular range of a matrix

2014-06-11 Thread Pat-74100
Hi I have a matrix with values of size 1*500 i have to find the avg value of first 1 to 100 ,avg value of 100 - 200 and so on up to 400-500. is there any function to find the average of 1 -100 and 100 - 200, 200 - 300,300 - 400,400 - 500 ?? Thanks