repmat: repmat

View source: R/repmat.R

repmatR Documentation

repmat

Description

A function to match repmat in Matlab (Mathworks, Natick, MA)

Usage

repmat(a, n, m)

Arguments

a

Matrix or vector to repeat.

n

Number of row repititions.

m

Number of column repititions.

Note

This code was created by Robin Hankin. Derek Beaton included the code in prettyGraphs because it is a versatile function and used in prettyGraphs.

Author(s)

Robin Hankin.

References

For repmat see:
http://cran.r-project.org/doc/contrib/R-and-octave.txt


prettyGraphs documentation built on April 13, 2025, 1:08 a.m.