dtm.filter: Filter a dtm by selecting documents or terms

Description Usage Arguments Value

Description

Filters the dtm and removes any empty rows or columns

Usage

1
dtm.filter(dtm, documents = NULL, terms = NULL)

Arguments

dtm

the dtm to filter

documents

an optional vector of documents to include

terms

an optional vector of terms to include

Value

the filtered dtm


kasperwelbers/corpus-tools documentation built on May 20, 2019, 7:37 a.m.