network data
play

Network Data Networks as a kind of SOCIAL STRUCTURE Dyad A B - PowerPoint PPT Presentation

Network Data Networks as a kind of SOCIAL STRUCTURE Dyad A B Triad A B C Structural Position and Power A B C Centrality Structural Position and Power You Brother Duke student Track team GROUPS & Chris0an CATEGORIES GROUPS


  1. Network Data

  2. Networks as a kind of SOCIAL STRUCTURE

  3. Dyad A B

  4. Triad A B C

  5. Structural Position and Power A B C Centrality

  6. Structural Position and Power

  7. You Brother Duke student Track team GROUPS & Chris0an CATEGORIES

  8. GROUPS & TIES You Brother Duke student Track team Chris0an

  9. St Andrew’s Lodge The Loyal Nine Boston North Caucus The Long Room Club The Tea Party The Boston Committee The London Enemies List

  10. Groups (7) t s e s b u e i L u c t e t l s u g C i m e a d m i C o m m e y L o h n o e t o s t i r n C N r ’ R a w o E n P l N g a n e o n a y r o n t d o e s o d o T n L L o n t A s B e e e o o h h h L t e B S T T T h e h T T 0 0 1 1 0 0 0 J. Adams S. Adams 0 0 1 0 0 0 0 People (254) N. Appleton 0 0 1 0 0 0 0 G. Ash 0 1 0 0 0 1 1 B. Austin 0 0 0 0 0 0 0 S. Austin 0 1 0 0 0 1 0 J. Avery 0 0 0 0 1 1 0 0 0 0 0 1 0 C. Baldwin 0 1 0 0 0 1 0 J. Ballard 0

  11. Boston North Caucus The Boston Committee The London Enemies Lis The Long Room Club St Andrew’s Lodge The Loyal Nine The Tea Party 0 0 1 1 0 0 0 J. Adams S. Adams 0 0 1 0 0 0 0 N. Appleton 0 0 1 0 0 0 0 People (254) G. Ash 0 1 0 0 0 1 1 B. Austin 0 0 0 0 0 0 0 S. Austin 0 1 0 0 0 1 0 J. Avery 0 0 0 0 1 1 0 0 0 0 0 1 0 C. Baldwin 0 1 0 0 0 1 0 J. Ballard 0 Groups (7)

  12. Groups (7) People (254) People (254) People (254) Groups (7) People (254) x =

  13. library (ggraph) library (graphlayouts) # drat::addRepo("kjhealy") # install.packages("kjhnet") library (kjhnet) revere ## person st_andrews_lodge loyal_nine north_caucus ## 1 Adams.John 0 0 1 ## 2 Adams.Samuel 0 0 1 ## 3 Allen.Dr 0 0 1 ## 4 Appleton.Nathaniel 0 0 1 ## 5 Ash.Gilbert 1 0 0 ## 6 Austin.Benjamin 0 0 0 ## 7 Austin.Samuel 0 0 0 ## 8 Avery.John 0 1 0 ## 9 Baldwin.Cyrus 0 0 0 ## 10 Ballard.John 0 0 1 ## 11 Barber.Nathaniel 0 0 1

  14. r_p <- as.matrix(revere[,-1]) %*% t(as.matrix(revere[,-1])) dim(r_p) ## [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13] ## [1,] 2 2 1 1 0 0 0 0 0 1 1 0 0 ## [2,] 2 4 1 2 0 1 1 1 1 1 3 0 1 ## [3,] 1 1 1 1 0 0 0 0 0 1 1 0 0 ## [4,] 1 2 1 2 0 0 0 0 0 1 2 0 0 ## [5,] 0 0 0 0 1 0 0 0 0 0 0 0 1 ## [6,] 0 1 0 0 0 1 1 1 1 0 1 0 1 ## [7,] 0 1 0 0 0 1 1 1 1 0 1 0 1

  15. r_g <- t(as.matrix(revere[,-1])) %*% as.matrix(revere[,-1]) dim(r_g) ## st_andrews_lodge loyal_nine north_caucus long_room_club ## st_andrews_lodge 53 2 3 2 ## loyal_nine 2 10 3 0 ## north_caucus 3 3 59 5 ## long_room_club 2 0 5 17 ## tea_party 3 2 13 2 ## boston_committee 1 0 9 5 ## london_enemies 3 3 16 5 ## tea_party boston_committee london_enemies ## st_andrews_lodge 3 1 3 ## loyal_nine 2 0 3 ## north_caucus 13 9 16 ## long_room_club 2 5 5 ## tea_party 97 3 8 ## boston_committee 3 21 11 ## london_enemies 8 11 62

  16. revere_groups ## # A tbl_graph: 7 nodes and 49 edges ## # ## # An undirected multigraph with 1 component ## # ## # Node Data: 7 x 2 (active) ## id name ## <int> <chr> ## 1 1 st_andrews_lodge ## 2 2 loyal_nine ## 3 3 north_caucus ## 4 4 long_room_club ## 5 5 tea_party ## 6 6 boston_committee ## # â €¦ with 1 more row ## # ## # Edge Data: 49 x 3 ## from to value ## <int> <int> <dbl> ## 1 1 1 53 ## 2 1 2 2 ## 3 1 3 3 ## # â €¦ with 46 more rows

  17. revere_groups %>% ggraph(layout = "kk") + geom_edge_link(aes(width = value), color = "gray80") + geom_node_label(aes(label = name)) + theme_graph()

  18. revere_persons %>% mutate(centrality = centrality_eigen()) %>% ggraph(layout = "stress") + geom_edge_link0(aes(edge_width = value), color = "gray60") + scale_edge_width(range = c(0.02, 2))+ geom_node_point() + geom_node_label(aes(filter = centrality > 0.9, label = name), size = rel(2.5)) + theme_graph()

  19. NETWORK STRUCTURE IN THE ILIAD

  20. Hector waiting, watching the greathearted Patroclus trying to stagger free, seeing him wounded there with the sharp bronze came rushing into him right across the lines and rammed his spearshaft home, stabbing deep in the bowels, and the brazen point went jutting straight out through Patroclus' back

  21. Hector! Now is your time to glory to the skies

  22. So, Who’s The Most Important Warrior in The Iliad?

  23. il_tidy %>% activate(nodes) %>% ggraph(layout = "fr") + geom_edge_link(color = "gray80") + geom_node_point(aes(color = affil)) + scale_color_manual(values = c("blue", "red"), labels = c("Athenian", "Trojan")) + guides(color = guide_legend(title = "Side", )) + labs(title = “Violence in The Iliad") + theme(plot.title = element_text(size = rel(3)))

  24. Rage, sing goddess of the rage of Achilles son of Peleus

  25. Patroclus Hector Achilles

  26. Patroclus Hector Achilles

Recommend


More recommend