Description Usage Arguments Examples
mutate()
adds new document variables and preserves
existing ones; transmute()
adds new document variables and drops existing
ones. Both functions preserve the number of rows of the input. New variables
overwrite existing variables of the same name.
1 2 3 4 5 |
.data |
a quanteda object whose document variables will be created or transformed |
... |
name-value pairs of expressions for document variable modification or assignment; see mutate. |
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.