rep.row: replicate a row vector into a matrix

View source: R/utility.R

rep.rowR Documentation

replicate a row vector into a matrix

Description

replicate a row vector into a matrix

Usage

## S3 method for class 'row'
rep(x, n)

Arguments

x

the row vector to be replicated

n

replicate the row vector n times

Value

a matrix of the dimension of n by length(x)


ZhuolinSong/wpe documentation built on Oct. 31, 2022, 7:38 p.m.