powered by
This function repeats each row of a matrix n times
reprow(x, n)
is the input matrix
is the number of repetitions (can be a vector)
matrix with repeated rows