Repeat each row of a matrix n times

Description

This function repeats each row of a matrix n times

Usage

1
reprow(x, n)

Arguments

x

is the input matrix

n

is the number of repetitions

Value

matrix with repeated rows

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.