Rdocumentation
powered by
Learn R Programming
sentimentr (version 0.0.1)
plot.sentiment: Plots a sentiment object
Description
Plots a sentiment object.
Usage
"plot"(x, ...)
Arguments
x
The sentiment object.
...
ignored
Value
Returns a
ggplot2
object.
Details
Utilizes Matthew Jocker's
syuzhet
package to calculate smoothed sentiment across the duration of the text.