Description Usage Arguments Details Value Examples
This function visualizes the most frequent words that co-occur throughout a corpus.
1 | bigram.network(data.td, freq)
|
data.td |
A tidy dataset |
freq |
A user defined numeric vector containing an user defined limit of most frequent bigrams to include |
This function identifies all of the bigrams (two word co-occurrences in a sequence of text) in a corpus, sums the frequency of occurrence for each bigram, and sorts the list in descending order. The function then generates an undirected network graph connecting each word (node) in the bigram. These words are connected by edges (lines) whose thickness varies based on the frequency of occurrence for each bigram.
A network graph of the most frequent bigrams down to a user defined freq
1 | bigram.network(Articles, 200)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.