Learn R Programming

CB2 (version 1.3.6)

rep_row: Repeat a row

Description

Repeat a row

Usage

rep_row(x, n)

Value

A matrix with `n` copies of `x`

Arguments

x

A vector to repeat

n

Number of repetitions