View source: R/tweet_corpus_distribution.R
tweet_corpus_distribution | R Documentation |
Determines the scores distribution for the entire Twitter data corpus.
tweet_corpus_distribution(
DataFrameTidyScores,
binwidth = 1,
color = "black",
fill = "grey"
)
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. |
A ggplot.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.