Learn R Programming

clustRcompaR (version 0.2.0)

clean_dfm: Cleans the DFM based on specified term minimums

Description

Cleans the DFM based on specified term minimums

Usage

clean_dfm(corp, minimum_term_frequency, min_terms)

Arguments

corp

A corpus object as created by assemble_corpus.

minimum_term_frequency

Minimum number of occurances for a term to be used

min_terms

Minimum number of terms for document to be used

Details

Removes terms and documents that don't meet term and doc minimums