repmat: Replicate and tile array

Description Usage Arguments Value Examples

Description

Just the same usage as repmat function in Matlab. This kind of functions can be easily found on the web.

Usage

1
repmat(A, M, N)

Arguments

A

Matrix or vector to repeat.

M

Number of row repititions.

N

Number of column repititions.

Value

a matrix of M-by-N tiling of A.

Examples

1
repmat(c(1, 2), 6, 8)

StatMethRank documentation built on Jan. 15, 2017, 8:59 p.m.