Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


ProcMod (version 1.0.8)

.rep_matrix: Internal function repeating a matrix.

Description

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

Usage

.rep_matrix(x, nrow)

Arguments

x

The matrix to replicate

nrow

an interger value specifying the number of row of the returned matrix

Value

a new matrix with the same number of columns but with `nrow` rows.