Description Usage Arguments Value
Create a DocumentTermMatrix
from a list of document ids, terms, and frequencies.
1 2 |
documents |
a vector of document names/ids |
terms |
a vector of words of the same length as documents |
freqs |
a vector of the frequency a a term in a document |
minfreq |
the minimum frequency of terms for inclusion. Defaults to 5, set to 0 to skip filtering |
minlength |
the minimum word length (number of characters) for inclusion, set to 0 to skip filtering |
filter.chars |
filter out any words containing numbers or non-word characters (defaults to True) |
filter |
an optional boolean vector of the length of documents whether each document should be included. Any additional filtering will be applied on to op this filter |
a document-term matrix DocumentTermMatrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.