rep.row: replicate a row vector into a matrix

Description Usage Arguments Value

View source: R/utility.R

Description

replicate a row vector into a matrix

Usage

1
2
## 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)


linulysses/mcfda documentation built on Jan. 17, 2021, 8:53 a.m.