repmat: Replicate and tile an array.

View source: R/repmat.R

repmatR Documentation

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

Author(s)

Wolfram Stacklies


hredestig/pcaMethods documentation built on Sept. 30, 2023, 10:38 a.m.