interleaveMatrixWithItself.Rd
Replicate columns of input matrix n times as neighbors of columns in original matrix.
interleaveMatrixWithItself(x, n = 1)
input matrix
number of interleaves
matrix is output
Avants BB
mat<-replicate(100, rnorm(20)) wmat<-interleaveMatrixWithItself( mat , 5 )