Last chance! 50% off unlimited learning
Sale ends in
# NOT RUN {
el <- matrix( c("foo", "bar", "bar", "foobar"), nc = 2, byrow = TRUE)
graph_from_edgelist(el)
# Create a ring by hand
graph_from_edgelist(cbind(1:10, c(2:10, 1)))
# }
Run the code above in your browser using DataLab