Repmat {rWMBAT} | R Documentation |
Creates a large matrix consisting of an m-by-n tiling of copies of X
Repmat(X, m, n)
X |
matrix used to make copies of |
m |
row copy number of the result matrix |
n |
colomn copy number of the result matrix |
matrix, m-by-n tiling of copies of input matrix
Qian Si,College of William and Mary, Dept. of Physics, 2009
Repmat(diag(3),2,3) # diag(3) creates a 3-by-3 indentity matrix