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

View source: R/textmodel_svm.R

as.matrix.csr.dfmR Documentation

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 class 'dfm'
as.matrix.csr(x, ...)

Arguments

x

input dfm

...

unused

Value

a SparseM object of class matrix.csr


quanteda.textmodels documentation built on Sept. 11, 2024, 8:19 p.m.