List2Matrix {rid} | R Documentation |
Convert a list of matrices into a single large matrix
List2Matrix(x, sym = FALSE)
x |
A numeric list with each entity be a numeric matrix with p rows and q columns |
sym |
A logical scalar representing whether each matrix is symmetric. If true, the duplicated half is removed |
A numeric matrix with pq rows and T columns
x=list(x1=1:3,x2=4:6)
List2Matrix(x)
y=list(y1=matrix(1:4,2),y2=matrix(5:8,2))
List2Matrix(y)