topic_trend: Topic distribution over the period by month

Description Usage Arguments Examples

Description

This function display the topic trend by month

Usage

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

Arguments

mallet_df

mallet topic model

df

preprocessed twitter data

topic_name

topic names

Examples

1
2
3
4
5
6
#### Example ####
topic_name <- c("Topic 1", "topic 2", "c", "d")

topics_trend(mallet_df, # model
             df, # dataframe
             topic_name) # label of the topics

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