plot.emotion_by {sentimentr}R Documentation

Plots a emotion_by object

Description

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

Usage

## S3 method for class 'emotion_by'
plot(x, ordered = TRUE, ...)

Arguments

x

The emotion_by object.

ordered

logical. If TRUE order the output grouping by emotion.

...

ignored

Value

Returns a ggplot2 object.


[Package sentimentr version 2.9.0 Index]