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

2014-06-12 Thread David Winsemius
les might be worth your effort. -- david. > Thanks > > >> Date: Thu, 12 Jun 2014 02:04:26 -0700 >> From: smartpink...@yahoo.com >> Subject: Re: [R] Average value in a particular range of a matrix >> To: leonardsqual...@hotmail.com >> >

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,

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

2014-06-12 Thread arun
homework ... but just for a graph I'm trying do plot. @Arun: Yes I've done a mistake, it is 1-100 , 101-200 etc .. or even 1-50,51-100 etc. The range is not important. Thanks > Date: Thu, 12 Jun 2014 02:04:26 -0700 > From: smartpink...@yahoo.com > Subject: Re: [R] Aver

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

2014-06-12 Thread John Kane
?mean You need to read tutorial or two, particularly with reference to indexing. The CRAN site has any number of useful papers and books that you can download. John Kane Kingston ON Canada > -Original Message- > From: leonardsqual...@hotmail.com > Sent: Wed, 11 Jun 2014 12:17:02 +

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

2014-06-11 Thread Rolf Turner
On 12/06/14 00:17, Pat-74100 wrote: 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 ?? This looks v