plot.profanity_by {sentimentr}R Documentation

Plots a profanity_by object

Description

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

Usage

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

Arguments

x

The profanity_by object.

ordered

logical. If TRUE order the output grouping by profanity.

...

ignored

Value

Returns a ggplot2 object.


[Package sentimentr version 2.9.0 Index]