search for: repmat3

Displaying 1 result from an estimated 1 matches for "repmat3".

Did you mean: repmat
2004 Sep 28
2
S4 method selection based on second argument
...3) B = repmat(A, n) In all cases, A is the fill value, m is number of rows, and n is number of columns. As separate functions, the translations would roughly be: repmat1 <- function(A, m, n) { kronecker(matrix(1, n, m), A) } repmat2 <- function(A, rc) { repmat1(A, rc[1], rc[2]) } repmat3 <- function(A, n) { repmat1(A, n, n) } Suggestions? ---------------------------------------------------------- SIGSIG -- signature too long (core dumped)