Transforms matrix to dgTMatrix
as_sparse(x)
x
Sparse matrix of class dgTMatrix
Related functions from the same R package