Description Usage Arguments Value
View source: R/order_by_counts.R
A function to generate an ordered word count dataframe from a raw vector of words.
1 | order_by_counts(word_vector, weighting = NULL)
|
word_vector |
A character vector of words we wish to count and order. |
weighting |
a vector of weightings to be given to counts of a particular string. Defaults to NULL meaning no weightings will be used. |
A data.frame with 'word' and a 'count' fields, with rows ordered by word frequency.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.