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)

lava documentation built on May 29, 2024, 3:10 a.m.