plot.sentiment: Plots a sentiment object
Description
Plots a sentiment object.
Usage
# S3 method for sentiment
plot(x, transformation.function = syuzhet::get_dct_transform, ...)
Arguments
transformation.function
A transformation function to smooth the sentiment
scores.
Value
Returns a ggplot2 object.
Details
Utilizes Matthew Jocker's syuzhet package to calculate smoothed
sentiment across the duration of the text.