sentimentr (version 2.6.1)

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

# S3 method for sentiment_by
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.