# list2bdiag

From MCMCglmm v2.29
by Jarrod Hadfield

##### Forms the direct sum from a list of matrices

Forms a block-diagonal matrix from a list of matrices

- Keywords
- manip

##### Usage

`list2bdiag(x)`

##### Arguments

- x
list of square matrices

##### Value

matrix

##### Examples

```
# NOT RUN {
M<-list(rIW(diag(3), 10), rIW(diag(2), 10))
list2bdiag(M)
# }
```

*Documentation reproduced from package MCMCglmm, version 2.29, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.