powered by
Creates a block diagonal matrix with its arguments as the blocks.
BlockMatrix(...)
Block diagonal matrix having the specified matrices on its diagonal.
Matrices that should be put on the diagonal.
Dylan Beijers, dylanbeijers@gmail.com
BlockMatrix() tries to coerce its arguments to a matrix, using as.matrix.
BlockMatrix()
as.matrix
BlockMatrix(diag(ceiling(9 * stats::runif(5))), matrix(1:8, 4, 2), c(14, 8))
Run the code above in your browser using DataLab