View source: R/summarise_sentiment.R
summarise_sentiment | R Documentation |
Summarises sentiment for all sentiment dictionaries.
summarise_sentiment(
data,
x,
line_length = 0,
lex_stop = c("all", "none", "onix", "smart", "snowball")
)
summarize_sentiment(
data,
x,
line_length = 0,
lex_stop = c("all", "none", "onix", "smart", "snowball")
)
data |
dataframe object |
x |
text column to pull sentiment from |
summary sentiment scores for all available sentiment lexicon dictionaries.
## Not run:
janeaustenr::austen_books() |>
dplyr::group_by(book) |>
summarise_sentiment(text)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.