Sounds like you are looking for Kronecker Product between two matrices. If it is the case, you may work with A %x% B, A, B are two defined matrices. -- View this message in context: http://r.789695.n4.nabble.com/Matrix-tp2133212p2133287.html Sent from the R help mailing list archive at Nabble.com.