VTM: Repeats a row

Description Usage Arguments Value

View source: R/SurrogateOutcome.R

Description

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

Usage

1
VTM(vc, dm)

Arguments

vc

the vector to repeat.

dm

number of rows.

Value

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


SurrogateOutcome documentation built on Nov. 15, 2021, 5:08 p.m.