repmat: Matlab-Syntaxed Repmat

Description Usage Arguments Value

View source: R/helpers.R

Description

This function mimics the behavior and syntax of repmat() in Matlab it generates a large matrix consisting of an N-by-M tiling copies of A

Usage

1
repmat(A, N, M)

Arguments

A

original matrix to be used as copies

N

the number of rows of tiling copies of A

M

the number of columns of tiling copies of A

Value

matrix consisting of an N-by-M tiling copies of A


lfda documentation built on May 30, 2017, 7:36 a.m.