Learn R Programming

Semblance (version 1.1.0)

repCol: Make a matrix by repeating vector v into n columns

Description

Make a matrix by repeating vector v into n columns

Usage

repCol(v, n)

Arguments

v

a vector to be operated on

n

number of columns the vector will be repeated over

Value

a matrix with repeated columns