Description Usage Arguments Value
A function to perform basic text cleaning. It is primarily a convenience function, wrapping up some very commonly used cleaning tasks. It automatically lowers the text.
1 2 | clean.text(text.clean, punct = T, numbs = T, stopz = T, URL = T,
RT = T)
|
text.clean |
character vector |
punct |
logical, indicating whether to remove punctuation |
numbs |
logical, indicating whether to remove numbers |
stopz |
logical, indicating whether to remove stop words (from the tm package) |
URL |
logical, indicating whether to remove URLS |
RT |
logical, indicating whether to remove RT sign from the start of each entry |
vector with cleaned text
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.