Skip to content

Merge matrix

4 messages · pankaj borah, Kehl Dániel, Kevin E. Thorpe +1 more

#
On 04/12/2011 10:54 AM, pankaj borah wrote:
Assuming that Bt is the transpose of B and you want C = [A|Bt] you could do:

C <- cbind(A,t(B))