Description Usage Arguments Details Author(s) References Examples
This function creates a wordcloud after preprocessed data (claeaning, stemming ...)
1 |
x |
a character string |
stopwordLanguages |
the language of stopword to be deleted |
wordLength |
the length of terms to be included in wordcloud. Default 0 (all terms) |
wordFrequencies |
the frequency of terms to be included in wordcloud. Default 1 (all terms) |
scale |
the dimension of terms in the wordcloud (figure). Default c(3.5, 0.3) |
colors |
The colors of wordcloud. Default NULL (backgroud white, terms black) |
To use this feature you need a twitter account and twitter app. To create the app go here www.twitter.com/apps
Nicola Procopio
http://www.rdatamining.com/examples/text-mining
1 2 | ## data(tweets)
## twitterCloud(tweets$text, stopwordLanguages = stopwords('en'), wordLength = 5, wordFrequencies = 2, colors = brewer.pal(5,'Dark2'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.