Description Usage Arguments Value
View source: R/topic_modelling.R
Turn a corpus into a document term matrix
1 | makeDTM(corpus, sparsity, rnames, cols, rows)
|
corpus |
- A document corpus |
sparsity |
- An integer between 0 and 1. Lower values remove more highly common and highly uncommon terms |
rnames |
- a vector of document identifiers (usually papers$UT) |
A corpus of words, punct removed and stemmed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.