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

Description Usage Arguments

View source: R/textmodel_svm.R

Description

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

Usage

1
2
## S3 method for class 'dfm'
as.matrix.csr(x)

Arguments

x

input dfm


quanteda.textmodels documentation built on April 6, 2021, 9:06 a.m.