unique_by | R Documentation |
Find unique words used by grouping variable.
unique_by(text.var, grouping.var)
text.var |
The text variable |
grouping.var |
The grouping variables. Default |
Returns a list of unique words by grouping variable.
## Not run:
dat <- pres_debates2012[pres_debates2012$time == "time 3", ]
with(dat, unique_by(dialogue, person))
with(pres_debates2012, unique_by(dialogue, list(time, person)))
with(DATA, unique_by(state, person))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.