word_corr {saotd} | R Documentation |
Twitter Word Correlations
Description
The word correlation displays the mutual relationship between words.
Usage
word_corr(DataFrameTidy, number, sort = TRUE)
Arguments
DataFrameTidy |
Data Frame of Twitter Data that has been tidy'd. |
number |
The number of word instances to be included. |
sort |
Rank order the results from most to least correlated. |
Value
A Tibble.
Examples
## Not run:
library(saotd)
data <- raw_tweets
tidy_data <- Tidy(DataFrame = data)
TD_Word_Corr <- word_corr(DataFrameTidy = tidy_data,
number = 500,
sort = TRUE)
TD_Word_Corr
## End(Not run)
[Package saotd version 0.3.1 Index]