R/repmat.R

Defines functions repmat

Documented in repmat

#########################################################################################
# A replication of MatLab repmat function!
#
#
# Source:
# R FOR OCTAVE USERS
#    version 0.4
#    Copyright (C) 2001 Robin Hankin
# 	 http://cran.r-project.org/doc/contrib/R-and-octave.txt
#########################################################################################
repmat <- function(a,n,m) {kronecker(matrix(1,n,m),a)}

Try the prettyGraphs package in your browser

Any scripts or data that you put into this service are public.

prettyGraphs documentation built on May 1, 2019, 9:25 p.m.