| repmat {ramify} | R Documentation | 
Repeat Vectors and Matrices
Description
Repeat a vector or matrix a specific number of times.
Usage
repmat(x, m, n)
Arguments
| x | A vector or matrix. | 
| m | Integer specifying how many times to repeat  | 
| n | Integer specifying how many times to repeat  | 
Value
A block matrix of dimension m*nrow(x) by 
n*ncol(x).
Examples
repmat(1:3, 3, 2)  # will have dimension 9 by 2
repmat(randn(2, 2), 3, 2)
[Package ramify version 0.3.3 Index]