blockdiag {calibrator} | R Documentation |
Assembles matrices blockwise into a block diagonal matrix with optional padding value
blockdiag(m1, m2, p.tr = 0, p.ll = 0)
m1 |
Upper left matrix |
m2 |
Lower right matrix |
p.tr |
Padding value for top right quadrant. Defaults to zero. |
p.ll |
Padding value for lower left quadrant. Defaults to zero. |
The function documented here is a subset of adiag
of
package magic
Robin K. S. Hankin
data(toys)
blockdiag(D1.toy,D2.toy)