rep.col: replicate a column vector into a matrix

View source: R/utility.R

rep.colR Documentation

replicate a column vector into a matrix

Description

replicate a column vector into a matrix

Usage

## S3 method for class '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


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