textcounter | R Documentation |
Counts total prevalence of a set of items in each of a set of texts.
textcounter(
counted,
texts,
words = FALSE,
fixed = TRUE,
start = FALSE,
num_mc_cores = 1
)
counted |
character vector of items to search for in the texts. |
texts |
character vector of to-be-searched text. |
words |
logical. Default FALSE. Does |
fixed |
logical. Default TRUE. Use literal characters instead of regular expressions? |
start |
logical. Default FALSE. Does |
num_mc_cores |
integer Number of cores for parallelization. Default is 1. |
numeric vector as long as texts
indicating total frequencies of counted
items.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.