as.sparseMatrix: Type conversion - get sparseMatrix.

Description Usage Arguments

Description

Turn objects into the sparseMatrix as defined in the Matrix package.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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 'bundle'
as.sparseMatrix(x, col)

Arguments

x

object to convert

...

further parameters

col

column name to get values from (if x is a bundle)


nrauscher/corpus documentation built on May 23, 2019, 9:34 p.m.