likert scale
likert_scale.Rd
Convert the sentiment scores to a likert scale from 1-5
Arguments
- df,
data frame containing the reviews
- col,
string name of the column that contains the reviews
Examples
df = data.frame(text = c("I love cats","I love dogs"))
val = likert_scale(df, "text")