Learn R Programming

MLCIRTwithin (version 2.1.2)

blkdiag: Build block diagonal matrices

Description

Function that given two matrices builds the corresponding block diagonal matrix.

Usage

blkdiag(A, B)

Value

C

resulting block diagonal matrix

Arguments

A

first matrix to be included

B

second matrix to be included

Author

Francesco Bartolucci - University of Perugia (IT)