
Last chance! 50% off unlimited learning
Sale ends in
repeats several times the rows of a matrix to create a new matrix with more rows. The final row count must be a multiple of the initial row count
.rep_matrix(x, nrow)
The matrix to replicate
an interger value specifying the number of row of the returned matrix
a new matrix with the same number of columns but with `nrow` rows.