search for: shiftedmatrix

Displaying 1 result from an estimated 1 matches for "shiftedmatrix".

2010 Jun 15
4
shifted window of string
..."u" "v" "w" "x" This needs to be very efficient as my data is large, loops would be too slow. Any ideas? It could also be done in a string and then put into the matrix but I don't think this would be easier. I will want to put this in a function: shiftedMatrix <- function(v, window=5, shift=2){... return(m)} thanks dhs [[alternative HTML version deleted]]