repRow {Jmisc}R Documentation

Repeat a vector by row

Description

Repeat a vector by row

Usage

repRow(x, n)

Arguments

x

vector or matrix

n

number of replication

Author(s)

TszKin Julian Chan ctszkin@gmail.com

See Also

repCol

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]