pcaMethods (version 1.64.0)

repmat: Replicate and tile an array.

Description

Creates a large matrix B consisting of an M-by-N tiling of copies of A

Usage

repmat(mat, M, N)

Arguments

mat
numeric matrix
M
number of copies in vertical direction
N
number of copies in horizontal direction

Value

Matrix consiting of M-by-N tiling copies of input matrix