Rdocumentation
powered by
Learn R Programming
sentimentr (version 0.4.0)
plot.sentiment_by: 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
"plot"(x, ordered = TRUE, ...)
Arguments
x
The sentiment_by object.
ordered
logical. If
TRUE
order the output grouping by sentiment.
...
ignored
Value
Returns a
ggplot2
object.