repmat: Repmat

Description Usage Arguments Value

Description

R equivalent of the matlab function repmat. Repeats a matrix column- and rowwise.

Usage

1
repmat(X, m, n)

Arguments

X

Matrix to be repeated.

m

Number of repetitions columnwise.

n

Number of repititions rowwise.

Value

New Matrix with repeated values.


HendrikPfaff/Boxdrawing documentation built on May 3, 2019, 3:38 p.m.