Description Usage Arguments Value See Also Examples
View source: R/tally_both_vector.R
Short-syllabic (< 3 syllables) and poly-syllabic (>= 3 syllables) word tallies for the words in a vector of strings.
1 | tally_both_vector(x, ...)
|
x |
A character vector. |
... |
ignored. |
Returns a two column data.frame
(data.table
) of integer tallies for the total number of
short syllable (short) and poly syllable (poly) words for each string in the vector.
Other syllable.functions: count_string
,
count_vector_by
,
count_vector
, sum_string
,
sum_vector_by
, sum_vector
,
tally_both_string
,
tally_both_vector_by
,
tally_di_string
,
tally_di_vector_by
,
tally_di_vector
,
tally_mono_string
,
tally_mono_vector_by
,
tally_mono_vector
,
tally_poly_string
,
tally_poly_vector_by
,
tally_poly_vector
,
tally_short_string
,
tally_short_vector_by
,
tally_short_vector
1 2 3 | sents <- c("I like excellent chicken.", "I want eggs Benedict for Festivus.")
tally_both_vector(sents)
tally_both_vector(presidential_debates_2012$dialogue)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.