DTMtoSparse: convert a dtm from package tm to sparseMatrix from package...

Description Usage Arguments Value

View source: R/utility_functions.R

Description

convert a dtm from package tm to sparseMatrix from package Matrix without converting it to full matrix.

Usage

1

Arguments

dtm

a document-term-matrix from package 'tm'

Value

a sparse dcgMatrix from package Matrix


MoMPCA documentation built on Jan. 21, 2021, 5:09 p.m.