bdiag: Build a block diagonal matrix

Description Usage Arguments Value Author(s) Examples

View source: R/DLM.R

Description

The function builds a block diagonal matrix.

Usage

1

Arguments

...

individual matrices, or a list of matrices.

Value

A matrix obtained by combining the arguments.

Author(s)

Giovanni Petris GPetris@uark.edu

Examples

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


dlm documentation built on May 20, 2017, 1:21 a.m.
Search within the dlm package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.