Learn R Programming

landest (version 1.2)

VTM: Repeats a row.

Description

Helper function; this function creates a matrix that repeats vc, dm times where each row is equal to the vc vector.

Usage

VTM(vc, dm)

Value

a matrix that repeats vc, dm times where each row is equal to the vc vector

Arguments

vc

the vector to repeat.

dm

number of rows.