as_dgCMatrix {hal9001} | R Documentation |
Fast Coercion to Sparse Matrix
Description
Fast and efficient coercion of standard matrix objects to sparse matrices. Borrowed from http://gallery.rcpp.org/articles/sparse-matrix-coercion/. INTERNAL USE ONLY.
Usage
as_dgCMatrix(XX_)
Arguments
XX_ |
An object of class |
Value
An object of class dgCMatrix
, coerced from input XX_
.
[Package hal9001 version 0.4.6 Index]