plot.emotion_by: Plots a emotion_by object

Description Usage Arguments Value

View source: R/emotion_by.R

Description

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

Usage

1
2
## 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.


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