tweet_corpus_distribution {saotd} | R Documentation |
Twitter Corpus Distribution
Description
Determines the scores distribution for the entire Twitter data corpus.
Usage
tweet_corpus_distribution(
DataFrameTidyScores,
binwidth = 1,
color = "black",
fill = "grey"
)
Arguments
DataFrameTidyScores |
DataFrame of Twitter Data that has been tidy'd and scored. |
binwidth |
The width of the bins. Default is 1. |
color |
The user selected color to highlight the bins. |
fill |
The interior color of the bins. |
Value
A ggplot.
Examples
## Not run:
library(saotd)
data <- raw_tweets
tidy_data <- Tidy(DataFrame = data)
score_data <- tweet_scores(DataFrameTidy = tidy_data,
HT_Topic = "hashtag")
Corp_Dist <- tweet_corpus_distribution(DataFrameTidyScores = score_data,
binwidth = 1,
color = "black",
fill = "white")
Corp_Dist
## End(Not run)
[Package saotd version 0.3.1 Index]