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

list2bdiag

Forms the direct sum from a list of matrices


Description

Forms a block-diagonal matrix from a list of matrices

Usage

list2bdiag(x)

Arguments

x

list of square matrices

Value

matrix

Author(s)

Jarrod Hadfield j.hadfield@ed.ac.uk

Examples

M<-list(rIW(diag(3), 10), rIW(diag(2), 10))
list2bdiag(M)

MCMCglmm

MCMC Generalised Linear Mixed Models

v2.32
GPL (>= 2)
Authors
Jarrod Hadfield
Initial release
2021-03-12

We don't support your browser anymore

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