Rdocumentation
powered by
Learn R Programming
flowcatchR (version 1.6.2)
repmat: Function equivalent for MATLAB's repmat - Replicate and tile arrays
Description
A more flexible and stylish alternative to replicate the behaviour of the repmat function of MATLAB
Usage
repmat(a, n, m)
Arguments
a
The matrix to copy
n
The n value for the tiling
m
The m value for the tiling
Value
Creates a large matrix consisting of an m-by-n tiling of copies of a.
References
http://cran.r-project.org/doc/contrib/R-and-octave.txt