powered by
This function replicates a matrix
repmat(a, n, m = n)
vector or matrix to replicate
number of replicates in n-direction
number of replicates in m-direction
repmat