Description Usage Arguments Source Examples
View source: R/topic_wordplot.R
This function display word term plot of topics.
1 | topic_wordplot(mallet_df, n_topic, num_words = 10)
|
mallet_df |
The model trained by get_topic function |
n_topic |
The numbers topics of model |
num_words |
The number top terms. default 10 |
David Mimno (2013) mallet: A wrapper around the Java machine learning tool MALLET
1 2 3 | df_ pre <- twitter_preprocess(df_tweets, ud_lang = "spanish", stop_words)
df_topics <- twitter_topic(df_pre, n_topic = 7)
topic_wordplot(df_topics, num_words = 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.