repmat | R Documentation |
This function creates a large matrix consisting of an m-by-n tiling of copies of X. The dimensions of the returned matrix are nrow(X)*m x ncol(X)*n. This is the equivalent of the repmat MATLAB function.
repmat(X, m, n)
X |
matrix to be replicated |
m |
row dimension of replication |
n |
column dimension of replication |
A replicated matrix of X with dimensions nrow(X)*m x ncol(X)*n.
Olivier Gimenez <olivier.gimenez@cefe.cnrs.fr>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.