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