Learn R Programming

synfd (version 0.1.3)

rep.col: replicate a column vector into a matrix

Description

replicate a column vector into a matrix

Usage

# S3 method for col
rep(x, n)

Arguments

x

the column vector to be replicated

n

replicate the column vector n times

Value

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