blockdiag

0th

Percentile

Assembles matrices blockwise into a block diagonal matrix

Assembles matrices blockwise into a block diagonal matrix with optional padding value

Keywords
array
Usage
blockdiag(m1, m2, p.tr = 0, p.ll = 0)
Arguments
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.

Note

The function documented here is a subset of adiag of package magic

Aliases
  • blockdiag
Examples
# NOT RUN {
data(toys)
blockdiag(D1.toy,D2.toy)
# }
Documentation reproduced from package calibrator, version 1.2-8, License: GPL-2

Community examples

Looks like there are no examples yet.