Bdiag {Rsfar} | R Documentation |
Create block diagonal matrix
Description
Create block diagonal matrix
Usage
Bdiag(A, k)
Arguments
A |
a numeric matrix forming each block. |
k |
an integer value indicating the number of blocks. |
Value
Return a block diagonal matrix from the matrix A.
Examples
Bdiag(matrix(1:4,2,2), 3)
[Package Rsfar version 0.0.1 Index]