bigram_network: Generate bigram network

Description Arguments Value Examples

Description

Generate bigram network to analyze given data with filters for all most common bigrams excluding stop words.

Arguments

data

the sentiment140 train or test data containing variables user for username, date for date and text for text of the tweet.

user_list

a vector of users for which to filter the dataset

start_date_time

input start_date_time in POSIXct format on which to filter the dataset

end_date_time

input end_date_time in POSIXct format on which to filter the dataset

keyword_list

a list of string keywords on which to filter the dataset

counts_quantile

the quantile beyond which to visualize the bigrams

Value

a list object with raw filtered dataframe, bigram_counts aggregated dataframe that holds the frequency counts of bigrams and a plot representing the network.

Examples

1

adityamangal410/deepSentimentR documentation built on June 3, 2019, 6:15 p.m.