Learn R Programming

synfd (version 0.1.3)

rep.row: replicate a row vector into a matrix

Description

replicate a row vector into a matrix

Usage

# S3 method for row
rep(x, n)

Arguments

x

the row vector to be replicated

...

further arguments

n

The number of times of replication

Value

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