View source: R/interleaveMatrixWithItself.R
interleaveMatrixWithItself | R Documentation |
Replicate columns of input matrix n times as neighbors of columns in original matrix.
interleaveMatrixWithItself(x, n = 1)
x |
input matrix |
n |
number of interleaves |
matrix is output
Avants BB
mat <- replicate(100, rnorm(20))
wmat <- interleaveMatrixWithItself(mat, 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.