reprow: Repeat each row of a matrix n times

View source: R/utils.R

reprowR Documentation

Repeat each row of a matrix n times

Description

This function repeats each row of a matrix n times

Usage

reprow(x, n)

Arguments

x

is the input matrix

n

is the number of repetitions (can be a vector)

Value

matrix with repeated rows


jtilly/matchingR documentation built on Feb. 15, 2023, 3:24 a.m.