Skip to contents

Cumulative total of vocabulary size

Usage

get_cumulative_vocabulary(x)

Arguments

x

A vector, such as a column of character strings

Value

A vector of counts

See also

Other vectorized functions: get_frequency(), get_hir(), get_htr(), get_idf_by(), get_match(), get_sentiment(), get_tf_by(), get_tfidf_by(), get_ttr(), is_hapax(), is_new()

Examples

c("cat", "dog", "dog", "bat", "dog") |>
  get_cumulative_vocabulary()
#> [1] 1 2 2 3 3