Block Diagonal Matrix
Form a block diagonal matrix from the given blocks.
blockDiag(...)
... |
numeric matrices |
This function is sometimes useful for constructing a design matrix for a disconnected two-color microarray experiment in conjunction with modelMatrix
.
A block diagonal matrix with dimensions equal to the sum of the input dimensions
Gordon Smyth
a <- matrix(1,3,2) b <- matrix(2,2,2) blockDiag(a,b)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.