blockdiag: Combine matrices to block diagonal structure

View source: R/blockdiag.R

blockdiagR Documentation

Combine matrices to block diagonal structure

Description

Combine matrices to block diagonal structure

Usage

blockdiag(x, ..., pad = 0)

Arguments

x

Matrix

...

Additional matrices

pad

Vyalue outside block-diagonal

Author(s)

Klaus K. Holst

Examples

A <- diag(3)+1
blockdiag(A,A,A,pad=NA)

kkholst/lava documentation built on Aug. 4, 2022, 11:15 p.m.