topic_radarmap_1: Topic distribution with topic names

Description Usage Arguments Examples

View source: R/topic_radarmap_1.R

Description

This function display word term plot of topics.

Usage

1
topic_radarmap_1(mallet_df, df, col = "royalblue")

Arguments

mallet_df

mallet topic model

df

preprocessed twitter data

topic_name

topic names

col

"royalblue", "tomato", "#B4CF68", "green", "purple", "orange","grey","red","#8DD3C7" , "pink", "blue","gold"

Examples

1
2
3
4
df_pre <- twitter_preprocess(df_tweets, ud_lang = "spanish", stop_words)
df_topics <- twitter_topic(df_pre, n_topic = 7)
topic_name <- c("social division", "spain", "visual art")
topic_radarmap_1(df_topics, df_pre ,topic_name, col = "royalblue")

BeaJJ/ComTxt documentation built on Dec. 17, 2021, 10:46 a.m.