Description Usage Arguments Value Author(s) References
View source: R/createWordCloud.R
Function to create a term-document matrix based on a text file/object.
1 2 | createTermDocumentMatrix(x, type = c("text", "url", "file"),
lang = "english", excludeWords = NULL, textStemming = FALSE)
|
x |
character string (plain text, web url, txt file path) |
type |
specify whether x is a plain text, a web page url or a file path |
lang |
the language of the text |
excludeWords |
a vector of words to exclude from the text |
textStemming |
reduces words to their root form |
a list(tdm, freqTable)
Gareth Burns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.