plotCompBar: plotCompBar

Description Usage Arguments Value Examples

View source: R/visualisationFunctions.R

Description

Plot a bar chart of the n most negative and positive words in the Tweet data set

Usage

1
plotCompBar(tweetDataFrameTokenized, maxWords = 10, minWordFreq = 1)

Arguments

tweetDataFrameTokenized

Dataframe object containing word tokens from tweets (Output of tokenizeTweets())

maxWords

Maximum number of words to appear on the plot.

minWordFreq

Minimum frequency of word to appear on the plot.

Value

Bar chart containing n most frequent positive and negative words in the Tweet data set

Examples

1
plotCompBar(tweetDataFrameTokenized) plotCompBar(tweetDataFrameTokenized,10,5)

jakubk28/TwitterDMTools documentation built on June 25, 2021, 4:12 p.m.