Learn R Programming

assist (version 3.1.3)

bdiag: Construct a Block Diagonal Matrix

Description

Return a block diagonal matrix formed from the input list of matrices

Usage

bdiag(x)

Arguments

x

a list of matrices

Value

Returned is a matrix of the form diag(x1, …, xn) where n is the length of the list.