bdiagNA {gMCPLite}R Documentation

Create a Block Diagonal Matrix with NA outside the diagonal

Description

Build a block diagonal matrix with NA values outside the diagonal given several building block matrices.

Usage

bdiagNA(...)

Arguments

...

individual matrices or a list of matrices.

Details

This function is useful to build the correlation matrices, when only partial knowledge of the correlation exists.

Value

A block diagonal matrix with NA values outside the diagonal.

Author(s)

Kornelius Rohmeyer rohmeyer@small-projects.de

See Also

gMCP

Examples

bdiagNA(diag(3), matrix(1/2,nr=3,nc=3), diag(2))


[Package gMCPLite version 0.1.5 Index]