powered by
Embed two matrices into one blockdiagonal matrix
blockdiagSymb(M, N)
matrix of type character
Matrix of type character containing M and N as upper left and lower right block
# NOT RUN { M <- matrix(1:9, 3, 3, dimnames = list(letters[1:3], letters[1:3])) N <- matrix(1:4, 2, 2, dimnames = list(LETTERS[1:2], LETTERS[1:2])) blockdiagSymb(M, N) # }
Run the code above in your browser using DataLab