Learn R Programming

Semblance (version 1.1.0)

repRow: Make a matrix by repeating vector v into n rows

Description

Make a matrix by repeating vector v into n rows

Usage

repRow(v, n)

Arguments

v

a vector to be operated on

n

number of rows the vector will be repeated over

Value

a matrix with repeated rows