repCol {Jmisc}R Documentation

Repeat a vector by col

Description

Repeat a vector by col

Usage

repCol(x, n)

Arguments

x

vector or matrix

n

number of replication

Author(s)

TszKin Julian Chan ctszkin@gmail.com

See Also

repRow

Examples

repRow(c(a=1,b=2,c=3),5)
repCol(c(a=1,b=2,c=3),5)

[Package Jmisc version 0.3.1.1 Index]