Description Usage Arguments Value
Internal function to generate a grouping vector from docvars used in dfm.corpus, dfm.tokens, dfm.group, and tokens_group
1 | generate_groups(x, groups, drop = FALSE)
|
x |
corpus, tokens or dfm |
groups |
names of docvars or vector that can be coerced to a factor |
a factor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.