Social Network Analysis

Worksheet 6: Network Visualization I

Author

Termeh Shafie

Load Packages

library(igraph)
library(graphlayouts)
library(ggraph)
library(networkdata)

Prepare data

# load the game of thrones dataset
data(got)
gotS1 <- got[[1]]

Basic plotting

plot(gotS1)

Note

This plot is not representative for the capabilities of igraph. Check out this tutorial

# quick plot function of ggraph
autograph(gotS1)