[R] Manual recycling of vectors?
cskiadas at gmail.com
Fri Oct 19 15:58:43 CEST 2007
Sorry if this is already answered somewhere, but I could not find it.
I have two vectors, x,y, of different length, and I want to recycle
the smaller one (whichever one it is) until they have the same
length. I was wondering if there is a anything better than something
or some variant of that using if to avoid the two calls to rep.
Department of Mathematics and Computer Science
More information about the R-help