Skip to content
Prev 166264 / 398502 Next

rbind for matrices - rep argument

For matrices you can use kronecker:
[,1] [,2] [,3] [,4]
 [1,]  1.1  2.1  3.1  4.1
 [2,]  1.2  2.2  3.2  4.2
 [3,]  1.1  2.1  3.1  4.1
 [4,]  1.2  2.2  3.2  4.2
 [5,]  1.1  2.1  3.1  4.1
 [6,]  1.2  2.2  3.2  4.2
 [7,]  1.1  2.1  3.1  4.1
 [8,]  1.2  2.2  3.2  4.2
 [9,]  1.1  2.1  3.1  4.1
[10,]  1.2  2.2  3.2  4.2
[11,]  1.1  2.1  3.1  4.1
[12,]  1.2  2.2  3.2  4.2


On Wed, Jan 7, 2009 at 1:08 PM, Ted Harding
<Ted.Harding at manchester.ac.uk> wrote: