View source: R/SentimentDictionary.R
| extractWords | R Documentation | 
Returns all entries from a dictionary.
extractWords(d)
d | 
 Dictionary of type   | 
extractWords(SentimentDictionary(c("uncertain", "possible", "likely"))) # returns 3
extractWords(SentimentDictionary(c("increase", "rise", "more"),
                                 c("fall", "drop"))) # returns 5
extractWords(SentimentDictionary(c("increase", "decrease", "exit"),
                                 c(+1, -1, -10),
                                 rep(NA, 3))) # returns 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.