Re: [R] Double And average a vector

2012-03-24 Thread Petr Savicky
On Sat, Mar 24, 2012 at 03:49:28AM -0700, Alaios wrote: > Dear all, > I am reading with R some measurements vectors from an external device. > The length of each vector (containing numbers) is not constant. > > I would like by doubling the numbers of elements I select to shrink the > vector to a

[R] Double And average a vector

2012-03-24 Thread Alaios
Dear all, I am reading with R some measurements vectors from an external device. The length of each vector (containing numbers) is not constant. I would like by doubling the numbers of elements I select to shrink the vector to a new one Let's call the vector I read from the device as oldvector