sparse2long | R Documentation |
Create data.table from sparse matrix
sparse2long(mat, value_name = "value")
sparse2long(Matrix::spMatrix(1:3,2:4,3:5, ncol=4, nrow=3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.