A simple function for comparing three smoothers
simple_plot(
raw_values,
title = "Syuzhet Plot",
legend_pos = "top",
lps = 10,
window = 0.1
)
the raw sentiment values calculated for each sentence
for resulting image
position for legend
size of the low pass filter. I.e. the number of low frequency components to retain
size of the rolling window for the rolling mean expressed as a percentage.