O'Reilly logo

R Data Analysis Cookbook - Second Edition by Kuntal Ganguly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting ready

If you have not already installed the igraph package, do it now using the following code:

> install.packages("igraph") 

Also, download the users_edgelist_upper.Rdata file from the book's data files to your R working directory. Alternately, if you worked through the previous recipe, Creating adjacency matrices and edge lists, you will have created the file and ensured that it is in your R working directory.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required