From e33ff30e83a499f4ba4f21e408f003a6229c0b90 Mon Sep 17 00:00:00 2001 From: QuantScripter <95710662+devpowerplatform@users.noreply.github.com> Date: Sat, 10 Aug 2024 12:24:40 -0500 Subject: [PATCH] Update 05-document-term-matrices.Rmd no need for ungrouping --- 05-document-term-matrices.Rmd | 1 - 1 file changed, 1 deletion(-) diff --git a/05-document-term-matrices.Rmd b/05-document-term-matrices.Rmd index 7b6fabe0..f531d5ab 100644 --- a/05-document-term-matrices.Rmd +++ b/05-document-term-matrices.Rmd @@ -79,7 +79,6 @@ library(ggplot2) ap_sentiments %>% count(sentiment, term, wt = count) %>% - ungroup() %>% filter(n >= 200) %>% mutate(n = ifelse(sentiment == "negative", -n, n)) %>% mutate(term = reorder(term, n)) %>%