Method was replicated from topicmodels publication on the Journal of Statistical Software by Grun and Hornik, 2011. For more details see PrintTermTFIDF

PlotTermTFIDF(dfm_quanteda, filter.by.term = FALSE,
  n.terms.threshold = 5000)

Arguments

dfm_quanteda

A Document Frequency Matrix as defined in the quanteda package.

filter.by.term

If TRUE n.terms.threshold will be used.

n.terms.threshold

Specify a limit to the number of terms plotted.

Value

A plot of the terms TF-IDF on the console.