plot.sentiment_by: Plots a sentiment_by object

Description Usage Arguments Value

View source: R/sentiment_by.R

Description

Plots a sentiment_by object. Red centers are average sentiment. Alpha jittered dots are raw sentence level sentiment data. Boxes are boxplots.

Usage

1
2
## S3 method for class '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.


sentimentr documentation built on Oct. 12, 2021, 9:06 a.m.