Description Usage Arguments Value Examples
View source: R/visualisationFunctions.R
Plot a bar chart of the n most negative and positive words in the Tweet data set
1 | plotCompBar(tweetDataFrameTokenized, maxWords = 10, minWordFreq = 1)
|
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. |
Bar chart containing n most frequent positive and negative words in the Tweet data set
1 | plotCompBar(tweetDataFrameTokenized) plotCompBar(tweetDataFrameTokenized,10,5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.