Build a block-diagonal sparse matrix. Obsolete wrapper for bdiag().

inla.dBind(...)

Arguments

...

A list of square or rectangular matrices.

Value

A sparse matrix.

Author

Finn Lindgren finn.lindgren@gmail.com

Examples

inla.dBind(Matrix(1,2,1), Matrix(2,1,2))
#> Warning: 'inla.dBind' is deprecated.
#> Use 'Matrix::bdiag' instead.
#> See help("Deprecated")
#> 3 x 3 sparse Matrix of class "dgCMatrix"
#>           
#> [1,] 1 . .
#> [2,] 1 . .
#> [3,] . 2 2