10.2 Social Networks
The package igraph contains data on a Social network of friendships between 34 members of a karate club at a US university in the 1970s.
See W. W. Zachary, An information flow model for conflict and fission in small groups, Journal of Anthropological Research 33, 452-473 (1977).
- Get a graph of the cpmmunities within the social network.
- Check the manual, or any online source to figure out what these measures mean and how they are calulated.
# Community membership karate <- graph.famous("Zachary") wc <- walktrap.community(karate) plot(wc, karate) modularity(wc) membership(wc)
- It is also possible to get the adjacency matrix
- What do the columns, rows and 0s and 1s stand for?