Description Usage Arguments Value
Generates a plot to show the top n sentiment words in the input text file.
1 | sentiment_plot(text, sentiment_input = "joy", width = 10, height = 10)
|
text |
string: the input text for sentiment analysis |
sentiment_input |
string (optional): the sentiment that the analysis focuses on. Defaults to "happy". |
width |
integer (optional): the width of the output plot. Defaults to 10. |
height |
integer (optional): the height of the output plot. Defaults to 10. |
graph: a plot that shows the top n sentiment words of the input text file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.