topic_radarmap: Topic distribution by year

Description Usage Arguments Examples

View source: R/topic_radarmap.R

Description

This function display word term plot of topics.

Usage

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

Arguments

mallet_df

mallet topic model

df

preprocessed twitter data

col

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

Examples

1
2
3
df_pre <- twitter_preprocess(df_tweets, ud_lang = "spanish", stop_words)
df_topics <- twitter_topic(df_pre, n_topic = 7)
topic_radarmap(df_topics, df_pre , col = "royalblue")

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