plot.sentiment_by {sentimentr} | R Documentation |
Plots a sentiment_by object
Description
Plots a sentiment_by object. Red centers are average sentiment. Alpha jittered dots are raw sentence level sentiment data. Boxes are boxplots.
Usage
## S3 method for class 'sentiment_by'
plot(x, ordered = TRUE, ...)
Arguments
x |
The sentiment_by object. |
ordered |
logical. If |
... |
ignored |
Value
Returns a ggplot2 object.
[Package sentimentr version 2.9.0 Index]