Learn R Programming

prettyGraphs (version 1.0)

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.

References

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