pkgdown/header.html

Skip to contents

Helper function, export for PRIME model Converts a list of sparse vectors to a sparse matrix.

Usage

vectorListToMatrix(vl)

Arguments

vl

A list of sparse vectors (of class "dsparseVector").

Value

A sparse matrix (of class "dgCMatrix") where each row corresponds to a sparse vector from the input list.