Transfer matrix list to a matrix
Arguments
- XList
a list with each component matrix
Value
return a rbinded matrix
Examples
matlist2mat(list(matrix(1, nrow=2, ncol=2), matrix(2, nrow=4, ncol=2)))
#> [,1] [,2]
#> [1,] 1 1
#> [2,] 1 1
#> [3,] 2 2
#> [4,] 2 2
#> [5,] 2 2
#> [6,] 2 2