Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

bdiag

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

Bayesian and Likelihood Analysis of Dynamic Linear Models

v1.1-5
GPL (>= 2)
Authors
Giovanni Petris [aut, cre], Wally Gilks [ctb] (Author of original C code for ARMS)
Initial release
2018-05-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.