Description Usage Arguments Details Value Examples
View source: R/word_frequency.R
Analyze the weighted frequency of words in a certain text with metrics. Get hidden patterns in the text by extracting and aggregating metrics about words in your text and comparing it to the original metric.
1 | word_frequency(df, sep = " ", rm_words = stopwords_en)
|
df |
a data frame with a character and a numeric vector columns |
sep |
the separator of words, defaults to space, but can be modified if needed |
rm_words |
words to remove, defaults to English stopwords from the |
useful for: - keyword / search term analysis - tweets analysis - articles traffic (from titles or URLs) - Facebook statuses - any other social media text with metrics
a data frame of metrics by word along side the original metrics
1 | word_frequency(boxoffice[c("title", "lifetime_gross")])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.