repmat: Replicate and tile an array

View source: R/repmat.R

repmatR Documentation

Replicate and tile an array

Description

Repeat copies of array (equivalent of the repmat matlab function).

Usage

repmat(a, n, m)

Arguments

a

input array (scalar, vector, matrix).

n

number of time to repeat input array in row and column dimensions.

m

repetition factor.

Examples

repmat(10,3,2)

fabnavarro/rwavelet documentation built on Aug. 22, 2024, 3:38 a.m.