reprow: 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


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.