Create term document matrices from raw text or wfm
for use with other text analysis packages.
Usage
tdm(text.var, grouping.var = NULL, ...)
Arguments
text.var
The text variable or a wfm
object.
grouping.var
The grouping variables. Default
NULL generates one word list for all text. Also
takes a single grouping variable or a list of 1 or more
grouping variables.