powered by
Convert a list of matrices into a single large matrix
List2Matrix(x, sym = FALSE)
A numeric matrix with pq rows and T columns
A numeric list with each entity be a numeric matrix with p rows and q columns
A logical scalar representing whether each matrix is symmetric. If true, the duplicated half is removed
x=list(x1=1:3,x2=4:6) List2Matrix(x) y=list(y1=matrix(1:4,2),y2=matrix(5:8,2)) List2Matrix(y)
Run the code above in your browser using DataLab