Learn R Programming

quanteda.textmodels (version 0.9.9)

as.matrix.csr.dfm: convert a dfm into a matrix.csr from SparseM package

Description

Utility to convert a dfm into a matrix.csr from the SparseM package.

Usage

# S3 method for dfm
as.matrix.csr(x, ...)

Value

a SparseM object of class matrix.csr

Arguments

x

input dfm

...

unused