Description Usage Arguments Value
View source: R/term-sentiment.R
Determine sentiment of terms
1 | term_sentiment(.data, lexicon = "afinn", senti = NULL)
|
.data |
vector of terms |
lexicon |
sentiment lexicon to use, based on the corpus provided by tidytext |
senti |
sentiment to use for page view for nrc or loughran (joy, anger ...) |
vector with sentiment score of each word in the vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.