—
title: “solution”
output: html_document
—
“`{r setup, include=FALSE}
library(knitr)
read_chunk(“hwk5.R”)
knitr::opts_chunk$set(echo = TRUE)
“`
## Part I: Simplifying the network
“`{r CA1}
“`
“`{r CA2}
“`
“`{r CA3}
“`
“`{r CA4}
“`
## Part II: Community detection
“`{r CB1}
“`
“`{r CB2}
“`
“`{r B3}
“`
“`{r B4}
“`
## Part III: Visualization
“`{r D1}
“`
“`{r D2}
“`
“`{r D3}
“`
“`{r D4}
“`
“`{r D5}
“`
“`{r D6}
“`
8. Embed the hashtag1.png and hashtag2.png files in your R markdown
![](hashtag1.png)
![](hashtag2.png)
9. Question: What aspects of political communication or particular news events do the clusters represent?
The clusters represents the resentment for President Trump by some voters.
10. Question: Which cluster makes the most “sense” to you as a grouping of terms? Why?
The two clusters by LE and Walktrap 10 are very similar. Cluster from Walktrap10 makes most sense.
Tags such as #presidentasshole, #worstpresidentever, #impeach45 are all the same emotion: resenment to
President Trump.