bdiagNA | R Documentation |
Build a block diagonal matrix with NA values outside the diagonal given several building block matrices.
bdiagNA(...)
... |
individual matrices or a |
This function is usefull to build the correlation matrices, when only partial knowledge of the correlation exists.
A block diagonal matrix with NA values outside the diagonal.
Kornelius Rohmeyer rohmeyer@small-projects.de
gMCP
bdiagNA(diag(3), matrix(1/2,nr=3,nc=3), diag(2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.