blockdiag: Assembles matrices blockwise into a block diagonal matrix

Description Usage Arguments Note Author(s) Examples

Description

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

Usage

1
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

Author(s)

Robin K. S. Hankin

Examples

1
2

RobinHankin/calibrator documentation built on May 8, 2019, 8:06 a.m.