Learn R Programming

SPOT (version 2.11.10)

repmat: repmat

Description

Reproduce what MATLAB's repmat function can do, using kronecker function.

Usage

repmat(a, n, m)

Arguments

a

matrix

n

dimension 1 (rows)

m

dimension 2 (cols)

Value

Returns repeated matrix