Description Usage Arguments Details Value
View source: R/topic-extract.R
The primary purpose of topics_terms_map
is to provide an association
between topics (by ID) and a representative set of words (terms) for a given
topic. These can be used to create labels for visualizations.
1 | topics_terms_map(topicModel, nLabelTerms = 7, labelType = "frex")
|
topicModel |
an |
nLabelTerms |
the number of terms to be included as a label for a given
topic; default is |
labelType |
the |
By default the terms that are both most frequent and exclusive are used (see
stm
for details).
a dataframe with topics by ID and a selection of associated topic terms, where:
a numeric identifier of a topic
a character sequence of frequent and exclusive terms associated with a topic
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.