Learn R Programming

rwavelet (version 0.4.1)

repmat: 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

Run this code
# NOT RUN {
repmat(10,3,2)
# }

Run the code above in your browser using DataLab