bdiag: Build a block diagonal matrix

View source: R/DLM.R

bdiagR Documentation

Build a block diagonal matrix

Description

The function builds a block diagonal matrix.

Usage

bdiag(...)

Arguments

...

individual matrices, or a list of matrices.

Value

A matrix obtained by combining the arguments.

Author(s)

Giovanni Petris GPetris@uark.edu

Examples

bdiag(matrix(1:4,2,2),diag(3))
bdiag(matrix(1:6,3,2),matrix(11:16,2,3))

dlm documentation built on Sept. 21, 2024, 9:06 a.m.