Description Usage Arguments Value
Computes a relevance score using the weighted sum of the document term score and corpus term freqeuncy.
1 | top_terms(model, lambda, nterms, freq)
|
model |
An LDA model produced by the topicmodels package. |
lambda |
A float. Percent to weight each term. |
nterms |
An integer. The number of top terms to return. |
freq |
A table of word per document frequency counts. (TODO) |
A tibble of the top 'nterms' terms for each topic.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.