repmat | R Documentation |
A more flexible and stylish alternative to replicate the behaviour of the repmat function of MATLAB
repmat(a, n, m)
a |
The matrix to copy |
n |
The n value for the tiling |
m |
The m value for the tiling |
Creates a large matrix consisting of an m-by-n tiling of copies of a.
Robin Hankin, 2001
http://cran.r-project.org/doc/contrib/R-and-octave.txt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.