Uses threshold to select the top terms based on tf-idf.

FilterDFMByTFIDF(dfm_quanteda, threshold)

Arguments

dfm_quanteda

A dfm as defined by the quanteda package

threshold

The threshold to filter terms

Value

A dfm with filtered terms.