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 July 1, 2020, 9:36 p.m.