Description Usage Arguments Value
Takes in a dataframe and column and abstracts the use of the topicmodels package by applying an LDA model. Used by other *_topics functions
1 | determine_topics(dataframe, column, num_topics = 2)
|
dataframe |
dataframe or tibble of survey responses |
column |
string variable of free text responses to which the LDA model will be applied |
num_topics |
integer denoting the number of topics (k) to be specified for the LDA model, defaults to 2 |
a dataframe, where each column is a topic and contains the 5 most common words in those topics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.