powered by
The function builds a block diagonal matrix.
bdiag(...)
individual matrices, or a list of matrices.
A matrix obtained by combining the arguments.
# NOT RUN { bdiag(matrix(1:4,2,2),diag(3)) bdiag(matrix(1:6,3,2),matrix(11:16,2,3)) # }
Run the code above in your browser using DataLab