Description Usage Arguments Value Examples
This function counts the number of appearences of a set of words in abstracts or titles of a tidyJSTOR dataframe
1 | VocabCount(dfEco, ArrayVocab, titles = FALSE, StopWords = TRUE, scores)
|
dfEco |
A dataframe in the JSTOR_df format (see: JSTOR_df()) |
ArrayVocab |
a vector of charcters ot be counted as c("word1", "word2", ..., "wordn") |
titles |
Whether to analyze titles of abstracts. Default titles = FALSE |
StopWords |
Whether to use default StopWords or a custom dataframe of stop words. If opted for custom, a dataframe of two columns (word, lexicon = "custom") must be provided. |
scores |
a vector of scores matching the vector of character in the parameter ArrayVocab |
A dataframe of counted words JSTORVocabCount
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.