as.sparseMatrix | R Documentation |
Turn objects into the sparseMatrix as defined in the Matrix package.
as.sparseMatrix(x, ...)
## S4 method for signature 'simple_triplet_matrix'
as.sparseMatrix(x, ...)
## S4 method for signature 'TermDocumentMatrix'
as.sparseMatrix(x, ...)
## S4 method for signature 'DocumentTermMatrix'
as.sparseMatrix(x, ...)
## S4 method for signature 'bundle'
as.sparseMatrix(x, col, ...)
x |
object to convert |
... |
Further arguments that are passed to a call to
|
col |
column name to get values from (if x is a bundle) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.