reprow: Repeat each row of a matrix n times

Description Usage Arguments Value

View source: R/utils.R

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


matchingR documentation built on May 29, 2017, 11:23 a.m.