Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

repmat

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

Publication-Quality Graphics

v2.1.6
GPL-2
Authors
Derek Beaton
Initial release
2018-12-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.