as_sparse | R Documentation |
Transforms matrix to dgTMatrix
as_sparse(x)
x |
Matrix or vector. If this is a vector, it is formatted into a single-column matrix. |
Sparse matrix of class dgTMatrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.