List2Matrix {rid}R Documentation

Convert a list of matrices into a single large matrix

Description

Convert a list of matrices into a single large matrix

Usage

List2Matrix(x, sym = FALSE)

Arguments

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

Value

A numeric matrix with pq rows and T columns

Examples

x=list(x1=1:3,x2=4:6)
List2Matrix(x)

y=list(y1=matrix(1:4,2),y2=matrix(5:8,2))
List2Matrix(y)


[Package rid version 0.0.1 Index]