sentiment_by(text.var, by = NULL, group.names, ...)
NULL
uses the original
row/element indices; if you used a column of 12 rows for text.var
these 12 rows will be used as the grouping variable. Also takes a single
grouping variable or a list of 1 or more grouping variables.sentiment
.sentiment
element_id
sum
med by grouping variable
sd
) of the sentiment/polarity score by grouping variable
mean
average by grouping variable
sentiment