repRow: Repeat Rows

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Repeat Rows

Usage

1
repRow(n, nr)

Arguments

nr

number of copies along rows

m

vector (row)

Value

new matrix

Examples

1
2
3
4
5
## Not run: 
matrix(1:3, nr=5, nc=3, byrow=T)
repRow(1:3, 5)

## End(Not run)

drewgriffith15/griffun documentation built on Nov. 21, 2018, 8:24 p.m.