View source: R/matrix_helpers.R
repMat | R Documentation |
For copying matrices as in Matlab (works for sparse matrices)
repMat(X, m, n)
X |
matrix to replicate |
m |
number of times replicate the matrix rows |
n |
number of times replicate the matrix columns |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.